Angular has a set of built in Validators, however you can create your own custom validator and extend your own functionality over a form control, like country based phone number validations, date format, etc.
List of built in Validators can be found here;
https://angular.io/api/forms/Validators
These are just the same validators used in template driven forms.
Like “required”, “email”, “min”, “max”, and so on.
And…
There are two types of Validator functions;
Sync Validators and
Async Validators
Source Code: https://github.com/codewithsrini/Angu...
Part 1: • Angular Reactive Form - Part 1 / 4 - ...
Part 2: • Angular Reactive Form - Part 2 / 4 - ...
Part 3: • Angular Reactive Form - Part 3 / 4 - ... (This lecture)
Part 4: • Angular Reactive Form - Part 4 / 4 - ...
In questa pagina del sito puoi guardare il video online Angular Reactive Form - Part 3 / 4 - Validating Form Controls della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodeWithSrini 23 gennaio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 441 volte e gli è piaciuto 6 spettatori. Buona visione!