-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get the chip Object on delete / click #26
Comments
Hello. The component uses the label for identifying chips in the client side, ChipFieldAddon/src/main/java/com/flowingcode/vaadin/addons/chipfield/ChipField.java Line 73 in 5e63c61
but the mapping is not exposed through public API, so, we'll need to implement a mechanism that allows retrieving an item given its value. Indeed, that's the approach in Grid's listeners: |
Add ChipEvent as superclass of removed, created and clicked events. Update demo in order to user the new getter. Close #26
Add ChipEvent as superclass of removed, created and clicked events. Update demo in order to user the new getter. Close #26
Add tests for item created and item removed listeners. Close #46
Add tests for item created and item removed listeners. Close #46
Hi, at the moment when a Chip is clicked or deleted, I can get the chip label by the event.getLabe().
In my case I pass an objet to the chipField " ChipField....."
How can I get the MyObject on click / delete ?
Thanks
The text was updated successfully, but these errors were encountered: