diff options
author | Marco Collovati <mcollovati@gmail.com> | 2017-09-20 07:32:04 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-26 18:24:43 +0300 |
commit | c9d537b26bdec8dde8660e8ead63aeee3bd5fc1c (patch) | |
tree | c639c41def961051a8c0d63a8e4bdeae530f4aa7 /WebContent | |
parent | 79b286e8e928ba79cf2486a1adb2551c59c40652 (diff) | |
download | vaadin-framework-c9d537b26bdec8dde8660e8ead63aeee3bd5fc1c.tar.gz vaadin-framework-c9d537b26bdec8dde8660e8ead63aeee3bd5fc1c.zip |
Show validation error selecting invalid date from DateField (#10013)
Component error was cleared after selecting a date from
calendar popup, even if the date is invalid due to
validation errors or if user programmatically sets an UserError.
This change inverts the order of setValue() and setComponentError(null) in order
to preserve errors set by ValueChangeListeners (e.g. Binder validators).
Fixes #10011
Diffstat (limited to 'WebContent')
0 files changed, 0 insertions, 0 deletions