diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/ui/AbstractTextField.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/AbstractTextField.java b/src/com/vaadin/ui/AbstractTextField.java index cd9d99de18..ad31a46157 100644 --- a/src/com/vaadin/ui/AbstractTextField.java +++ b/src/com/vaadin/ui/AbstractTextField.java @@ -306,6 +306,7 @@ public abstract class AbstractTextField extends AbstractField implements */ public void setNullRepresentation(String nullRepresentation) { this.nullRepresentation = nullRepresentation; + requestRepaint(); } /** @@ -325,12 +326,13 @@ public abstract class AbstractTextField extends AbstractField implements * </p> * * @param nullSettingAllowed - * Should the null-string represenation be always converted to + * Should the null-string representation always be converted to * null-values. * @see TextField#getNullRepresentation() */ public void setNullSettingAllowed(boolean nullSettingAllowed) { this.nullSettingAllowed = nullSettingAllowed; + requestRepaint(); } /** |