Validating fields 100 local married dating
To begin to understand how we can use error State Matcher for this use case, let’s first take a look at the component class.
Here is an Angular Component class that sets up validation for the form using Form Builder.
The combination of the custom validator for the groups and the error State Matcher directive is what provides us the complete functionality needed to appropriately show validation errors for the confirmation fields.
Let’s take a look at the custom validation module to bring it all together.
That is where the error State Matcher directives on the confirmation fields, lines 19 and 35, come into play.