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
After implementing methods setDateFormat(s), getDateFormat() in class DatePickerI18n (#911) there's still missing a method to handle a client unparsable input string on the serve as it was in Vaadin 8 DateField::handleUnparsableDateString(...)
In Java a DatePicker-Instance does not show any error after leaving it's field with an unparsable string as does with JavaScript.
As there's no possibility to handle the unparsable string on the server side, the user can not distinguish between an empty value and an unparsable string.
if the field is not requried, it looks like as if the unparsable string was accepted.
Following the demo for DatePicker V22, the component gets red for an unparsable string on TypeScript, but the component does not show up for java, so i could not test it there, but only in my code.
The text was updated successfully, but these errors were encountered:
rolfsmeds
changed the title
DatePicker 22.0 : There's is still missing a handleUnparsableDateString as it was present in Vaadin 8
Server-side fallback parsing mechanism
Dec 28, 2021
rolfsmeds
changed the title
Server-side fallback parsing mechanism
DatePicker 22.0 : There's is still missing a handleUnparsableDateString as it was present in Vaadin 8
Dec 28, 2021
After implementing methods setDateFormat(s), getDateFormat() in class DatePickerI18n (#911) there's still missing a method to handle a client unparsable input string on the serve as it was in Vaadin 8 DateField::handleUnparsableDateString(...)
In Java a DatePicker-Instance does not show any error after leaving it's field with an unparsable string as does with JavaScript.
As there's no possibility to handle the unparsable string on the server side, the user can not distinguish between an empty value and an unparsable string.
if the field is not requried, it looks like as if the unparsable string was accepted.
Following the demo for DatePicker V22, the component gets red for an unparsable string on TypeScript, but the component does not show up for java, so i could not test it there, but only in my code.
The text was updated successfully, but these errors were encountered: