Answers for "adding a numbers only Validator"

1

angular validators number only in reactive form

new FormControl({value: field.value}, [Validators.required, Validators.pattern(/^-?(0|[1-9]\d*)?$/)])
Posted by: Guest on October-24-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language