The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

angular-formly: Custom Validation

angular-formly: Custom Validation

3:14
AngularJS validation can be tough, but angular-formly makes it extremely simple with a single validation API that enables basic and advanced field validation. You can specify a string expression, function that returns true/false, or a function that returns a promise which is resolved/rejected.
Watch this lesson now
Avatar
egghead.io

AngularJS validation can be tough, but angular-formly makes it extremely simple with a single validation API that enables basic and advanced field validation. You can specify a string expression, function that returns true/false, or a function that returns a promise which is resolved/rejected.

Avatar
Kent C.

As of 6.18.0 it is recommended that if you're going to do async validation, you put it on a new property called asyncValidators (rather than simply validators). See #369 for more info.

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?