FlowingCode / ChipFieldAddon

Vaadin Flow integration of https://github.com/ThomasCybulski/paper-chip
Apache License 2.0
7 stars 5 forks source link

Updating the itemLabelGenerator has no effect on chips #31

Closed javier-godoy closed 1 year ago

javier-godoy commented 3 years ago

Observed behavior: After updating the itemLabelGenerator, existing chips keep the label that had been generated with the older itemLabelGenerator.

Expected behavior: Updating the itemLabelGenerator should update the labels of existing items.

https://github.com/FlowingCode/ChipFieldAddon/blob/5e63c61626d46c2eb7a3530dbd1decbee48cde86/src/main/java/com/flowingcode/vaadin/addons/chipfield/ChipField.java#L293-L295