vaadin / vaadin-time-picker-flow

Vaadin Flow Java API for vaadin/vaadin-time-picker Web Component
https://vaadin.com/components/vaadin-time-picker
Other
6 stars 11 forks source link

setMin and setMax do nothing #27

Closed OlliTietavainenVaadin closed 5 years ago

OlliTietavainenVaadin commented 5 years ago

vaadin.version 13.0.1 Tested on Windows 10, Chrome

Setting the min and max values is not working. I'd assume for example the following code:

        TimePicker timePicker = new TimePicker();
        timePicker.setMin("10:00");
        timePicker.setValue(LocalTime.NOON);

would create a time picker where I can't pick a time earlier than 10 AM, but it doesn't seem to do anything.

Same behavior can also be seen at https://vaadin.com/components/vaadin-time-picker/java-examples

denis-anisimov commented 5 years ago

Issue moved to vaadin/vaadin-time-picker #101 via ZenHub