aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2014-09-13 22:46:28 +0300
committerSauli Tähkäpää <sauli@vaadin.com>2014-09-24 21:59:16 +0300
commit77b1fe7ee1f9f377956f1f88d5e68d9239a4cfa4 (patch)
tree8dc3f8254b8e966cd70d76549eb3d4c2f83d7d6f /server/src
parent62b1e1c0c00889ac28aab6f8c6b00e5068dbaad7 (diff)
downloadvaadin-framework-77b1fe7ee1f9f377956f1f88d5e68d9239a4cfa4.tar.gz
vaadin-framework-77b1fe7ee1f9f377956f1f88d5e68d9239a4cfa4.zip
Set internal value instead of converted value when locale has changed. (#14400)
Change-Id: I2440f6471b8bbb016497bf59cffd023b013460dd
Diffstat (limited to 'server/src')
-rw-r--r--server/src/com/vaadin/ui/AbstractField.java3
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);
}
}
}