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
Currently the validation for input elements triggers on blur event. It would be great to have a way to opt-out of this automatic validation.
<vaadin-text-fieldrequirederror-message="Please enter value"
value="{{value}}"></vaadin-text-field>
Scenario:
On vaadin.com we have tabbed layout for Login and Signup dialog. The username field inside the tabs are auto focused. When user switches the tab, the blur event triggers for focused element, resulting into automatic validation, and showing the error message. I would like this automatic validation not to trigger, instead I would user .validate() method on the field on submission of form.
The text was updated successfully, but these errors were encountered:
Shridhad
changed the title
Provide API to opt-out of on-blur validation on input elements
Provide API to opt-out of on-blur validation for input elements
Aug 5, 2019
Currently the validation for input elements triggers on
blur
event. It would be great to have a way to opt-out of this automatic validation.Scenario:
On vaadin.com we have tabbed layout for Login and Signup dialog. The username field inside the tabs are auto focused. When user switches the tab, the
blur
event triggers for focused element, resulting into automatic validation, and showing the error message. I would like this automatic validation not to trigger, instead I would user.validate()
method on the field on submission of form.The text was updated successfully, but these errors were encountered: