Closed javier-godoy closed 1 year 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
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