]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed combobox example to allow new items.
authorJani Laakso <jani.laakso@itmill.com>
Mon, 11 Feb 2008 12:51:53 +0000 (12:51 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Mon, 11 Feb 2008 12:51:53 +0000 (12:51 +0000)
svn changeset:3763/svn branch:trunk

src/com/itmill/toolkit/demo/featurebrowser/ComboBoxExample.java

index df8fa688d74b81f209de3bac977c0bc137d6fdd8..810b5728f8f224268825f81ef29899a1eae55952 100644 (file)
@@ -62,6 +62,7 @@ public class ComboBoxExample extends CustomComponent {
         final ComboBox s3 = new ComboBox("Initially empty; enter your own");
         s3.setColumns(20);
         s3.setImmediate(true);
+        s3.setNewItemsAllowed(true);
         main.addComponent(s3);
 
     }