carbon
carbon copied to clipboard
Custom search for filterable multiselect
Summary
Want to be able to override the search method used for MultiSelect.Filterable. Downshift takes onInputValueChange prop, but carbon sets its own method for that: https://github.com/carbon-design-system/carbon/blob/master/packages/react/src/components/MultiSelect/FilterableMultiSelect.js#L330
Adding custom method to downshift props does not override Carbon's method. See sandbox.
Justification
My use case triggers an API call when users search in the MultiSelect component. API returns filtered list based on input value. List would otherwise be too long.
Desired UX and success metrics
Want to be able to set own custom downshift prop for onInputValueChange
"Must have" functionality
Ability to override Carbon's search method, but use carbon's method if no custom method provided.
Specific timeline issues / requests
August 31st deadline for feature in upcoming release
any update on this?
Can I take this one? :3
Any updates on this?
There has been no active development on this issue, but we would welcome a PR to add in this functionality