carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.86k stars 1.82k forks source link

Custom search for filterable multiselect #6639

Open ucbdiaz2015 opened 4 years ago

ucbdiaz2015 commented 4 years ago

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

dima19972525 commented 3 years ago

any update on this?

dezkareid commented 2 years ago

Can I take this one? :3

FeederTreeFoundation commented 2 years ago

Any updates on this?

tw15egan commented 2 years ago

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