carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Custom search for filterable multiselect

Open ucbdiaz2015 opened this issue 4 years ago • 4 comments

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

ucbdiaz2015 avatar Aug 07 '20 22:08 ucbdiaz2015

any update on this?

dima19972525 avatar Jun 30 '21 11:06 dima19972525

Can I take this one? :3

dezkareid avatar Dec 10 '21 03:12 dezkareid

Any updates on this?

FeederTreeFoundation avatar Aug 02 '22 14:08 FeederTreeFoundation

There has been no active development on this issue, but we would welcome a PR to add in this functionality

tw15egan avatar Aug 02 '22 14:08 tw15egan