-
Notifications
You must be signed in to change notification settings - Fork 866
Closed
Labels
Description
Description
Need to have the ability to provide a callback function to onRemoveTag when selecting multiple items to be able to customize its behavior.
Additional context
In my use case for example I have an InputMenu with Multiple selections the items list contains values that fall under multiple categories for example A, B, and C with the ability to search for any of them in the same InputMenu, so the list of items looks something like this:
- A: A1
- A: A2
- B: B5
- C: C7
the state is then stored in a pinia store based on the category onSelect, e.g.if (key == "A") store.listA.push(item.value)
when I click on the remove tag the v-model value is updated, but I have no idea which category was it from, meaning I will have to check all the items to know which state to update since they are actually separate.