You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases (e.g. to prevent the height of a form from changing due to error messages appearing, or for a11y reasons) it would be desirable to disable the automatic validation of fields (whether on valuechange or any other field-level event), so that validation only happens when explicitly triggered in code, e.g. when a Submit button is clicked.
In these cases it would still be desirable to show validation error messages below the components, so removing error messages entirely would not be an adequate solution.
Describe the solution you'd like
Provide a method that disables automatic validation.
Describe your motivation
In some cases (e.g. to prevent the height of a form from changing due to error messages appearing, or for a11y reasons) it would be desirable to disable the automatic validation of fields (whether on valuechange or any other field-level event), so that validation only happens when explicitly triggered in code, e.g. when a Submit button is clicked.
In these cases it would still be desirable to show validation error messages below the components, so removing error messages entirely would not be an adequate solution.
Describe the solution you'd like
Provide a method that disables automatic validation.
Additional context
Kind of related: vaadin/flow-components#4645
The text was updated successfully, but these errors were encountered: