diff options
author | Anastasia Smirnova <anasmi@utu.fi> | 2018-09-06 16:25:07 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2018-09-06 16:25:07 +0300 |
commit | 78b1dc143983ddf25fae2cfda1c7705c2d40b2e4 (patch) | |
tree | 812acae2388bc301ddd7dea99b817e5c22c43a8b /server/src | |
parent | 99161a6e91ab0c40a14256393047ac426cc1c4e3 (diff) | |
download | vaadin-framework-78b1dc143983ddf25fae2cfda1c7705c2d40b2e4.tar.gz vaadin-framework-78b1dc143983ddf25fae2cfda1c7705c2d40b2e4.zip |
Force re-updating the resolutions of DateField (#11159)
Fixes #11099
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/AbstractDateField.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractDateField.java b/server/src/main/java/com/vaadin/ui/AbstractDateField.java index 5fdd3bb788..48bc3e13f5 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractDateField.java +++ b/server/src/main/java/com/vaadin/ui/AbstractDateField.java @@ -520,6 +520,7 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster & Integer defaultValuePart = getValuePart(defaultValue, resolution); resolutions.put("default-" + resolutionName, defaultValuePart); } + updateDiffstate("resolutions", Json.createObject()); } private Integer getValuePart(T date, R resolution) { |