Skip to content

[Multiselect] Component API #5072

Answered by chloerice
chloerice asked this question in Q&A
Discussion options

You must be logged in to vote

I love this combobox example because it implements multiple features that are missing from the current autocomplete component, like auto-selection and typeahead.

I think these features and the functionality in general should be controlled outside of the component with render props (e.g.,renderOption) and other callbacks. Dictating the shape of the data or the expected content is too prescriptive, as we've learned from a number of our components, from DataTable to Button.

We've been prototyping in web for easy testing with spin within existing implementations of multiselect autocomplete inputs in the Admin, namely within the TagCard on detail views of things like orders and products. Let's…

Replies: 1 comment 1 reply

Comment options

chloerice
Feb 7, 2022
Maintainer Author

You must be logged in to vote
1 reply
@chloerice
Comment options

chloerice Feb 11, 2022
Maintainer Author

Answer selected by chloerice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant