NativeSelect: What kind of property to use to prevent BindException?

Hi,

I’m using Vaadin 7.0.0.

The question is about the component “NativeSelect”.

In the Vaadin examples there is following code, which builds a TextField:



item = new PropertysetItem();
item.addItemProperty("name", new ObjectProperty<String>("Zaphod"));
form.addComponent(fieldGroup.buildAndBind("Name", "name"));

What’s the equivalent for the NativeSelect component? Means: What kind of property do I have to add (see item.addItemProperty) to not get a BindException?

Thanks in advance!