fair-rose
fair-rose5mo ago

useSelect hook

How do I stop this from filtering at all? Right now if I select an option and I click on the select, only the selected option shows, I need to clear the selected option for all the options to show.
2 Replies
kapa.ai
kapa.ai5mo ago
Hi @albert7631. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The useSelect hook in Refine is designed to manage any select component and fetch data using the useList hook. However, the extracts provided do not contain specific information on how to prevent the useSelect hook from filtering the selected option. The behavior you're describing seems unusual because typically, a select dropdown should show all options even after one is selected. It's possible that there might be some other code or configuration causing this behavior. If you're using a library like Ant Design, Material UI, or Mantine with Refine, you might want to check their respective documentation or community for more specific guidance. For more detailed usage and examples of the useSelect hook, you can refer to the Refine documentation (https://refine.dev/docs/data/hooks/use-select). If the issue persists, consider raising an issue in the Refine GitHub repository (https://github.com/refinedev/refine/issues) or asking for help in the Refine Discord community (https://discord.com/channels/837692625737613362/1037681220487741440). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai5mo ago
<@408272184717606913> kapa.ai is still learning and improving, please let us know how it did by reacting below