Open harshit9715 opened 3 years ago
Thanks,
For creating a multiselect autocomplete list you can just modify the Autocomplete component and pass it in the config object.
Same approach can be used for infinite scroll, you can use react-query useInfinteQuery hook for this it is simple and easy to use . I will be adding sample codes for these scenarios soon in the documentation.
Hi , can you share a snippet of autocomplete component where multiselect works?
Hi, can you share a snippet of autocomplete component where multi-select works?
I was trying to achieve this functionality and it looks like we need to modify both CustomAutoComplete and CustomTextInput. CustomAutoComplete will help us make the multi-selection and CustomTextInput should help us see those selections inside the TextInput. I am trying to change the TextInput to Chip component so its looks better. Here is the UI I am trying to achieve.
However, I am still facing issues in passing the options. Looks like I have to pass the options directly to the config object. If I do so I am unable to make the paginated API call in the selection screen.
how to load api data on option autocomplete please tell him
Hi there, I ❤️ your library. It's clean and easy to use.
Can you help me with understanding how to:
appreciate your guidance. 😄