Not able to search

for the below code search is not working as needed
K
kapa.ai207d ago
Hi @jash.s. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but I can't provide a solution without seeing the code you're referring to. Could you please provide the code that's causing the issue? However, I can give you some general advice on how to troubleshoot search issues in refine. 1. Check your getList function in your Data Provider. Refine does the search using the useList hook and passes it to the search parameter. If there's an issue, it might be related to this function. source (https://refine.dev/docs/api-reference/mui/hooks/useAutocomplete/) 2. If you want to change the behavior to make client-side filtering, you can examine this documentation (https://mui.com/material-ui/react-autocomplete/#search-as-you-type). 3. Make sure you're managing the value and options properties of the <AutoComplete> component dynamically. The useList hook should be triggered whenever the value changes. The filter used to fetch the data should also be updated each time the value changes. source (https://refine.dev/docs/advanced-tutorials/search/) If you're still having trouble, please provide the code and I'll be happy to help you troubleshoot further. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
K
kapa.ai207d ago
<@1129363768661516329> kapa.ai is still learning and improving, please let us know how it did by reacting below
R
robust-apricot207d ago
<Form {...searchFormProps} onValuesChange={() => { searchFormProps.form?.submit(); }} initialValues={{ name: getDefaultFilter("name", filters, "contains"), }} > had missued onValuesChange , now working
X
xenial-black207d ago
🚀 Happy to hear its resolved 🙏
More Posts
useCustomMutation is persisting the header.I am passing a header in useCustomMutation for a single API call using config field. For all the subSider menu items not showing upHey everyone, I have a problem where `useMenu` does return a list of 2 items but the `renderSider` Mremove siderI want to remove antd sider programatically.antdesign sider menu popup hangs on collapsedwhen manually setCollapsed(true) on antdesign sider, the selected key menu popup will lingeruseGetToPath error<Button onClick={() => { go({ to: getToPath({ useEditableTable tableProps datatypehi, i have a question. why do the dataSource inside the tableprops property from useEditableTable oReact Query Options: Enabled change does not disable/pause requestsHi everyone, I am currently developing a page that incorporates various filters, some of which can AuthPage AntDIs there a convenient way to only render the autProvider section in the AuthPage (LoginPage) and do Seeking Advice: Choosing Refine JS for News Website Admin Dashboard?Hey everyone, I'm a beginner developer, and I'm working on a news website project that needs an admSite Title refine v4Hey, I want to change site title. The one which appear on chrome tab. I am update site logo(favicon)Is there any way to prevent hook from calling api if variable is still undefined?Is there any way to prevent hook from calling api if variable is still undefined in a single componeDragger on drop = false still calling api on dragdragger is calling api when there is no actionUsing refine as an admin panel (beginner)I am building admin panel for news website to upload, delete, update and overall controll news conterename refine default create button in the listhow to rename create button in list which is coming by giving create resource