summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java1
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java4
2 files changed, 4 insertions, 1 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java
index 5670b64b38..c3545c9deb 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupConstants.java
@@ -18,7 +18,6 @@ package com.vaadin.shared.ui.optiongroup;
import java.io.Serializable;
public class OptionGroupConstants implements Serializable {
- public static final String HTML_CONTENT_ALLOWED = "usehtml";
public static final String ATTRIBUTE_OPTION_DISABLED = "disabled";
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java
index f1676e0dd8..baa4148d97 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/optiongroup/OptionGroupState.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.shared.ui.optiongroup;
+import com.vaadin.shared.annotations.DelegateToWidget;
import com.vaadin.shared.ui.select.AbstractSelectState;
/**
@@ -26,4 +27,7 @@ public class OptionGroupState extends AbstractSelectState {
{
primaryStyleName = "v-select-optiongroup";
}
+
+ @DelegateToWidget
+ public boolean htmlContentAllowed = false;
}