So, what is the actual way to keep the button disabled until all the inputs are not empty?
CodePudding user response:
You should remove the lazy-validation property. As per the documentation,
If
lazy-validationis enabled, value(A boolean value representing the validity of the form.) will always be true unless there are visible validation errors

