vaadin-component-factory / combo-box-light

Light ComboBox without lazy loading feature
Other
0 stars 1 forks source link

Align setValue behavior to the normal combobox #3

Closed stefanuebe closed 1 week ago

stefanuebe commented 1 week ago

In V24, the core ComboBox (and other similar components) allow to set a value even if it is not part of the items. Despite the pros and cons regarding that behaviour, the CBL should behave the same and allow the same (as long as the CB does), to assure a uniform behaviour of "selector" components.

Therefore the methods modelToPresentation and presentationToModel should be reimplemented as they are in the core CB.

TatuLund commented 1 week ago

Fixed in version 2.0.0