datni / gwt-pectin

Automatically exported from code.google.com/p/gwt-pectin
0 stars 0 forks source link

Feature: ComboBox with settable first empty item #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. com.pietschy.gwt.pectin.client.components/ListBoxWorkAroundBug2689.java
2. in the init function super.addItem("", NULL_VALUE); ist set

What is the expected output? What do you see instead?
a created ComboBox will always have a blank first item. It would be a nice 
feature if you could set the value of the empty item or set a watermark with a 
defined value. I modified the file and added the value super.addItem("please 
choose", NULL_VALUE);
but it would be nice to set it outside the pectin core code

What version of the product are you using? On what operating system?
0.8

Please provide any additional information below.

Original issue reported on code.google.com by stefan.k...@gtempaccount.com on 18 Apr 2011 at 7:32