-2
Hello I have a form using formGrupo!
When I click the confirm button it does not perform the validations, without any reaction in the fields......
However, I would like that when I click on this button, it validates the fields and return the error messages... like this...
Here is the formGroup code and htlm button call
So Eduardo, in this case my button will be disabled while my Form has not been fully validated, but in my case, I wish that by clicking the button he make this validation field by field and present the error message in case there is an invalid field
– Guilherme Nunes
give a look at this link https://loiane.com/2017/08/angular-reactive-forms-trigger-validation-on-submit/
– Eduardo Vargas
As always, thank you Eduardo, your answers are always accurate... It worked cool...
– Guilherme Nunes