DEV Community

Discussion on: Angular custom validators and some weird ones

Collapse
 
ribizlim profile image
Mark Magyarodi • Edited

just to clarify why min and max are not working: they're not existing angular directives. they're just HTML5 input attributes to limit the stepper (also works with HTML5 native validation).
angular however provides these validators for reactive forms. (you can also use them in your directives)