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
I was not able to find java-api to access the content of the text field for the date picker.
We are migrating from Vaadin 7/8 to Vaadin 14 and have existing code that depends on having access to the actual text field, not only the date value (raising additional errors, automatically correcting format errors...).
The simplest example illustrating the problem is entering dates without the century: 1.3.20 instead of 1.3.2020
The current implementation does not even mark this as an error and I did not find a way to get notified that some text was entered. Due to the illegal format, the value remains null and no value change event is fired. Becaue there is no error, the user expects e.g. a date filter to be applied, but to the server it looks like there is no date defined!
The text was updated successfully, but these errors were encountered:
I was not able to find java-api to access the content of the text field for the date picker.
We are migrating from Vaadin 7/8 to Vaadin 14 and have existing code that depends on having access to the actual text field, not only the date value (raising additional errors, automatically correcting format errors...).
The simplest example illustrating the problem is entering dates without the century: 1.3.20 instead of 1.3.2020
The current implementation does not even mark this as an error and I did not find a way to get notified that some text was entered. Due to the illegal format, the value remains null and no value change event is fired. Becaue there is no error, the user expects e.g. a date filter to be applied, but to the server it looks like there is no date defined!
The text was updated successfully, but these errors were encountered: