Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for disabling automatic validation in Binder #17243

Open
rolfsmeds opened this issue Jul 19, 2023 · 0 comments
Open

Option for disabling automatic validation in Binder #17243

rolfsmeds opened this issue Jul 19, 2023 · 0 comments

Comments

@rolfsmeds
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants