vaadin / vaadin-date-picker

The Web Component providing a date selection field with scrollable month calendar. Part of the Vaadin components.

Home Page:https://vaadin.com/components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validation rounds

yuriy-fix opened this issue · comments

vaadin-date-picker runs several validation rounds on setting the value and that leads to several small issues (i.e. invalid state changes firstly to true and then to false when setting the value for the first time). change event is dispatched before last validation round is proceeded (so the invalid state could be incorrect at that point of time).

date-p

Screenshot 2020-02-05 at 12 26 52

We should rethink the logic of the validation and get rid out of several validation rounds.