Refine

R

Refine

Join the community to ask questions about Refine and get answers from other members.

Join

ask-any-question

general

disabling filter

is there a wat to disable a filter when using onSearch?

useTable example with Spring Boot

Can you provide a simple example of a Spring Boot API endpoint method that would be used with the useTable hook? Specifically, how should the method properly handle pagination so the client is only getting data for the current page?

Problem with alias

I want to use alias inside the project so I have this files but in the vscode and in runtime not found the correspondig components. This is are the config files. What am I missing?...

Default placement of built-in notifications with antd

I would like to change the default placement of antd notifications.

refine useList returns only 10 results. With a property - total: 17

refine useList returns only 10 results. With a property - total: 17

uselist populate

Can I use useList and populate it with a connection to different resources

Material UI Create with Image

how can I create a create form with image upload using Material UI

refine show.tsx does not show default button properly in mobile view

refine show.tsx does not show default button properly in mobile view, how to fix it in Material UI?

Add data to Edit component

how can I add additional data to be sent with form using import Edit from "@refinedev/mui";

would I have to pass locale to NumberField each time?

what If I want to configure it globally? I do not need translation, however I need to format number based on user selected locale.

useOne did not recall when id from useParsed change

useOne did not recall when id from useParsed change

How to add Chatbot to all pages?

I would like to add chatbot icon to all pages after user logged in. Once, clicked the icon. It shows a chatbot session box.

How to create custom button in Material UI list page?

I am editing list.tsx. How can create custom button like "Generate Product" and call to /genProduct?

why when using modal it do a call to the api before opening it

I do an api call in the modal and before i click to open it, the api call is already send. Is it possible to only have the call when the modal is open?

Sub menu with own page

using ant-design... Is there a way to add a menu item that both acts as a parent to other resources, and is also selectable by iteself? For example: Storage (top level menu item, when clicked opens a page and also expands the sub-menu). Storage>settings...

Strapi V4 Data Provider

How can I link a Ressource that has a different name from my strapi api. I have a "Medium" strapi api but with time and features added the "Platform" name is more appropriate. On refine I want to have the "Platform" naming but in strapi I want to keep apis as they are for now. Any idea how to do that please ?...

Why im getting following error

"node_modules/graphql/error/GraphQLError.mjs" for import "GraphQLFor
No description

Run problem

We had a project and works fine but one of the devs has this probleme whe executes npm run dev
ERROR in ./src/App.tsx 1:0-125
Module not found: Error: You attempted to import /¨*****/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
You can either move it inside src/, or add a symlink to it from project's node_modules/.
ERROR in ./src/App.tsx 1:0-125
Module not found: Error: You attempted to import /¨*****/node_modules/react-refresh/runtime.js which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
You can either move it inside src/, or add a symlink to it from project's node_modules/.
...

useAutocomplete more then one field ?

how can I useAutocomplete for more then one field ?

does the optimistic updates gets batched?

if I make update call 3 times to a resource which is in optimistic updates mode, it should make actual api call only once
Next