From 5d4940c165e3c41f08b096cfde415b324aa260f6 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Mon, 26 Sep 2011 09:43:01 +0000 Subject: Changes for #5170 based on review svn changeset:21292/svn branch:6.7 --- src/com/vaadin/ui/ComboBox.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/com/vaadin/ui') diff --git a/src/com/vaadin/ui/ComboBox.java b/src/com/vaadin/ui/ComboBox.java index f32a8bb5ff..bea6e61a3f 100644 --- a/src/com/vaadin/ui/ComboBox.java +++ b/src/com/vaadin/ui/ComboBox.java @@ -99,7 +99,9 @@ public class ComboBox extends Select { /** * Sets whether it is possible to input text into the field or whether the - * field area of the component is just used to show what is selected. + * field area of the component is just used to show what is selected. By + * disabling text input, the comboBox will work in the same way as a + * {@link NativeSelect} * * @see #isTextInputAllowed() * @@ -115,7 +117,8 @@ public class ComboBox extends Select { /** * Returns true if the user can enter text into the field to either filter * the selections or enter a new value if {@link #isNewItemsAllowed()} - * returns true. + * returns true. If text input is disabled, the comboBox will work in the + * same way as a {@link NativeSelect} * * @return */ -- cgit v1.2.3