I have an <a> tag as 'submit button' for a form, when i check form.isValid this tag changes according to the return of isValid, but i got the issue that isValid returns true, the button becomes valid due to my changes and when i push the button it returns validation errors. What can i do?
the validation rules are added inline to the input tags, should i pass any parameters to isValid in this case?
No, sorry i forgot to close the issue. The problem was that i didn't add a configuration as a parameter to the isValid method, i fixed that and its working now. Thanks!
Hello,
I have an
<a>
tag as 'submit button' for a form, when i check form.isValid this tag changes according to the return of isValid, but i got the issue that isValid returns true, the button becomes valid due to my changes and when i push the button it returns validation errors. What can i do?the validation rules are added inline to the input tags, should i pass any parameters to isValid in this case?