public ComboBoxItem(String name, String title) { super(name, title); this.comboBox = new ComboBox(); this.comboBox.addValueChangeHandler( new ValueChangeHandler<String>() { @Override public void onValueChange(ValueChangeEvent<String> event) { // if(postInit) { setModified(true); setUndefined("".equals(comboBox.getSelectedValue())); // } } }); this.wrapper = new InputElementWrapper(comboBox.asWidget(), this); wrapper.getElement().setAttribute("style", "width:100%"); }