diff options
author | Denis Anisimov <denis@vaadin.com> | 2016-11-29 15:27:20 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-12-01 07:42:43 +0000 |
commit | 1bb04399f3b825203a2c6d62154750768d75003e (patch) | |
tree | f90007d4358de336e05fcadd5d2f99c0999d6e19 /shared | |
parent | e4fbf7a5f2ab83d613100ec83aac99a3f88bf8b9 (diff) | |
download | vaadin-framework-1bb04399f3b825203a2c6d62154750768d75003e.tar.gz vaadin-framework-1bb04399f3b825203a2c6d62154750768d75003e.zip |
Allow to set caption for the empty selection in a ComboBox.
Fixes vaadin/framework8-issues#163
Change-Id: Ib68ad5421934c8375a91d7948d860381a5adb9bb
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java index 154735ce26..01a02a4a5f 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java @@ -88,4 +88,9 @@ public class ComboBoxState extends AbstractSingleSelectState { */ public String selectedItemCaption; + /** + * Caption for item which represents empty selection. + */ + public String emptySelectionCaption = ""; + } |