From 9e42a14120905e67d50aa0456f5d268351cdd310 Mon Sep 17 00:00:00 2001 From: Jani Laakso Date: Mon, 11 Feb 2008 12:51:53 +0000 Subject: [PATCH] Fixed combobox example to allow new items. svn changeset:3763/svn branch:trunk --- src/com/itmill/toolkit/demo/featurebrowser/ComboBoxExample.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/itmill/toolkit/demo/featurebrowser/ComboBoxExample.java b/src/com/itmill/toolkit/demo/featurebrowser/ComboBoxExample.java index df8fa688d7..810b5728f8 100644 --- a/src/com/itmill/toolkit/demo/featurebrowser/ComboBoxExample.java +++ b/src/com/itmill/toolkit/demo/featurebrowser/ComboBoxExample.java @@ -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); } -- 2.39.5