how to revalidate in angular reactive forms
I have a simple form like this:
Angular Phone Directive with Validator not working when copying
We are using Angular 17 along with Reactive forms in our project.
We have written a custom directive which formats the output to a us phone number format 111-222-3333
.
What we are seeing is that when someone tries to copy a number into the field – the field gets formatted, but the validator is still saying it is not valid.