Closed as duplicate of#6697
Closed as duplicate of#6697
Description
Description
I use a DateTimePicker with a Binder.
Because the value of the DateTimePicker is not sent to the server as long as it's not valid, this causes unexpected behavior in combination with the binder.
The form is valid for the binder even if the value is not, and the entered value gets lost after saving.
This makes using a DateTimePicker with a Binder practically unusable.
Expected outcome
Binder should have validation error if the value in the DateTimePicker is not valid.
Minimal reproducible example
https://github.com/simasch/vaadin-picker
Steps to reproduce
- Enter a date but no time in the DateTimePicker
- Hit the save button
Result: The entered data in the DateTimePicker is lost
Environment
Vaadin version(s): 24.1.4
Browsers
Issue is not browser related