-
Let's nail down the component's API 🔨 We'll discuss things like:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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., 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 continue the prototyping we've done with Combobox and Listbox in this repo so we can share publicly as we try on different API approaches. |
Beta Was this translation helpful? Give feedback.
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, fromDataTable
toButton
.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…