Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ComboBoxItem setAddUnknownValues error

    Using the following code:

    Code:
    ComboBoxItem cbi = new ComboBoxItem("asdf");
    cbi.setValueMap("222222", "45547756756756");
    cbi.setAddUnknownValues(false);
    DynamicForm df = new DynamicForm();
    df.setItems(cbi);
    works faulty. The selected value is written in the textfield when selecting an item from the dropbox, but the dropbox pops up immediately again and never closes when selecting an item from it. It is only closed when the item loses focus.

    Without

    Code:
    cbi.setAddUnknownValues(false);
    everything work as it should work.

    BR
Working...
X