summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/RichTextArea.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-05-15 22:02:17 +0300
committerVaadin Code Review <review@vaadin.com>2015-05-18 06:41:32 +0000
commitb9a6402e45d50b0bb265e4b138dc5677c9463af4 (patch)
tree8dabd08d9d67f4d8112866e7a830f727ecfcfbf9 /server/src/com/vaadin/ui/RichTextArea.java
parentc7392301d0c6afde429d7c6e66d3175f36ab5360 (diff)
downloadvaadin-framework-b9a6402e45d50b0bb265e4b138dc5677c9463af4.tar.gz
vaadin-framework-b9a6402e45d50b0bb265e4b138dc5677c9463af4.zip
Fix clear/isEmpty in TextArea/PasswordField/RichTextArea/ProgressBar (#17089)
Change-Id: Ic793cbb7eb36408c765a01cc987ba7fe8800b80c
Diffstat (limited to 'server/src/com/vaadin/ui/RichTextArea.java')
-rw-r--r--server/src/com/vaadin/ui/RichTextArea.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/RichTextArea.java b/server/src/com/vaadin/ui/RichTextArea.java
index 763e42ad8b..7c23cce5cb 100644
--- a/server/src/com/vaadin/ui/RichTextArea.java
+++ b/server/src/com/vaadin/ui/RichTextArea.java
@@ -293,6 +293,11 @@ public class RichTextArea extends AbstractField<String> implements
}
@Override
+ public void clear() {
+ setValue("");
+ }
+
+ @Override
public void readDesign(Element design, DesignContext designContext) {
super.readDesign(design, designContext);
setValue(design.html());