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
Unlike individual pickers, vaadin-date-time-picker doesn't reset invalid to false when required is unset.
Interestingly, the invalid is reset on vaadin-date-picker in this case leaving the field in a weird state:
Expected outcome
Expected the field to become valid if value isn't provided when setting required to false.
Minimal reproducible example
<vaadin-date-time-pickerlabel="Appointment date and time"
requirederror-message="This field is required"
></vaadin-date-time-picker><scripttype="module">import'@vaadin/date-time-picker';</script>
Steps to reproduce
Add the snippet above to the HTML page
Focus the date-picker
Press Tab to focus time-picker
Press Tab once again
Set required to false in the console
Environment
Vaadin version(s): V24, V23
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered:
Description
Unlike individual pickers,
vaadin-date-time-picker
doesn't resetinvalid
tofalse
whenrequired
is unset.Interestingly, the
invalid
is reset onvaadin-date-picker
in this case leaving the field in a weird state:Expected outcome
Expected the field to become valid if value isn't provided when setting
required
to false.Minimal reproducible example
Steps to reproduce
required
to false in the consoleEnvironment
Vaadin version(s): V24, V23
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered: