-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationknown issueKnown issue that can't be easily fixedKnown issue that can't be easily fixedvaadin-date-picker
Description
Description
The DatePicker in Vaadin 23.2.8 doesn't seem to recognize dates after year 9999. For example, if I type 01/01/10000 in the input, the value in the DatePicker is null. If the field isn't attached to a binder, it will also style itself as invalid.
Might be related to vaadin/framework#11881
Expected outcome
I would expect dates after year 9999 to be treated like any other date (theoretically, up to Year.MAX_VALUE = 999_999_999).
Minimal reproducible example
This can be reproduced with the basic DatePicker demo from the Vaadin docs:
https://vaadin.com/docs/latest/example?path=component/datepicker/date-picker-basic.ts
Steps to reproduce
- Click the date picker
- Type "01/01/10000"
- Press enter
Result: The date picker is styled as invalid and the value is null.
Environment
Vaadin version(s): 23.2.8
OS: MacOS 12.6.1
Browsers
Chrome
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationknown issueKnown issue that can't be easily fixedKnown issue that can't be easily fixedvaadin-date-picker