disable the button when form is not validated.
A similar question was asked before. It says it's solved but what exactly was the decent solution? Did I miss something?
Form validation documentation page is broken it has markdown errors.
A similar question was asked before. It says it's solved but what exactly was the decent solution? Did I miss something?
Form validation documentation page is broken it has markdown errors.
Add a
@propertyValidated="onValidateForm"event listener that triggers on each validation. Then you can usehasValidationErrors()on the form to see if the form is valid. The only trick is that is has to be wrapped in asetTimeout(), like so:For a complete solution, see this {N} Playground.