-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
Impact: LowSeverity: MinorenhancementNew feature or requestNew feature or requestvaadin-date-time-pickerworkaroundThere is a workaround in the comments.There is a workaround in the comments.
Description
In order to update the time value when the user changes the date (for instance, set the time part automatically to 00:00
)
one cannot rely on the change event of the component (since no event will be fired until both date and time are set).
As a workaround, one needs to add a change listener to dateSlot
:
dateTimePicker.$.dateSlot.children[0].addEventListener('change', function(){this.$.timeSlot.children[0].value='00:00';}.bind(dateTimePicker));
HerbertsVaadin, muhammetkurt, ExaBat, wtomee, Alienmario and 6 more
Metadata
Metadata
Assignees
Labels
Impact: LowSeverity: MinorenhancementNew feature or requestNew feature or requestvaadin-date-time-pickerworkaroundThere is a workaround in the comments.There is a workaround in the comments.