null
(for empty textfield only) and number
(all other cases) types. Use Validators.required (built-in validator provided by Angular team) with our FieldError pipe to notify your users about required field.
Control value:
null
prefix
/ postfix
parameters to set non-removable text before / after the number. step
property enables sided button to increase / decrease the number by the specified step's value. Moreover, keyboard keys ArrowUp
/ ArrowDown
will also work in the same way.