diff options
author | Sauli Tähkäpää <sauli@vaadin.com> | 2014-09-13 22:46:28 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-09-23 09:33:37 +0000 |
commit | 69df69f494244d6ce6e6c4e32ceea2c75767061f (patch) | |
tree | 9e1c9887212ed8f56180a2d86a971027ea130970 /server/src/com/vaadin/ui/AbstractField.java | |
parent | 9d0812f7425deff6ee5437993e08eeab7d4a84a0 (diff) | |
download | vaadin-framework-69df69f494244d6ce6e6c4e32ceea2c75767061f.tar.gz vaadin-framework-69df69f494244d6ce6e6c4e32ceea2c75767061f.zip |
Set internal value instead of converted value when locale has changed. (#14400)
Change-Id: I2440f6471b8bbb016497bf59cffd023b013460dd
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractField.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractField.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/AbstractField.java b/server/src/com/vaadin/ui/AbstractField.java index 47ac953319..bb70c0c57b 100644 --- a/server/src/com/vaadin/ui/AbstractField.java +++ b/server/src/com/vaadin/ui/AbstractField.java @@ -1402,7 +1402,8 @@ public abstract class AbstractField<T> extends AbstractComponent implements valueLocale); T newinternalValue = convertFromModel(convertedValue); if (!SharedUtil.equals(getInternalValue(), newinternalValue)) { - setConvertedValue(convertedValue); + setInternalValue(newinternalValue); + fireValueChange(false); } } } |