-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Open
Enhancement
Copy link
Labels
package: @carbon/react@carbon/react@carbon/reactpackage: @carbon/web-components@carbon/web-components@carbon/web-componentsproposal: openThis request has gone through triaging. We're determining whether we take this on or not.This request has gone through triaging. We're determining whether we take this on or not.role: dev 🤖status: needs design specstatus: needs triage 🕵️♀️type: enhancement 💡
Description
The problem
developers have no way to bifurcate the events when user clears the input or clicks the "x" to deselect the items.
The solution
It would be helpful to have a dedicated callback (e.g. onClose) that triggers specifically when the clear ('x') button in FilterableMultiSelect is clicked. This would allow consumers to handle clear events differently from general selection changes, for example resetting related state or triggering analytics.
Examples
No response
Design impact
No
Documentation impact
- The website documentation (carbondesignsystem.com)
- Figma kit documentation
- Storybook(s) documentation
- I'm not sure
Package
@carbon/react, @carbon/web-components
Application/PAL
No response
Business priority
Low Priority = release date is not dependent on fix or not upcoming
Available extra resources
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
package: @carbon/react@carbon/react@carbon/reactpackage: @carbon/web-components@carbon/web-components@carbon/web-componentsproposal: openThis request has gone through triaging. We're determining whether we take this on or not.This request has gone through triaging. We're determining whether we take this on or not.role: dev 🤖status: needs design specstatus: needs triage 🕵️♀️type: enhancement 💡
Type
Projects
Status
Triage