Refine

R

Refine

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

Join

ask-any-question

discussions

rival-black
rival-black1/15/2025

Add data to Edit component

how can I add additional data to be sent with form using import Edit from "@refinedev/mui";
like-gold
like-gold1/15/2025

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.
ambitious-aqua
ambitious-aqua1/15/2025

useOne did not recall when id from useParsed change

useOne did not recall when id from useParsed change
genetic-orange
genetic-orange1/14/2025

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.
genetic-orange
genetic-orange1/14/2025

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?
exotic-emerald
exotic-emerald1/14/2025

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?
protestant-coral
protestant-coral1/14/2025

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...
unwilling-turquoise
unwilling-turquoise1/14/2025

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 ?...
continuing-cyan
continuing-cyan1/13/2025

Why im getting following error

"node_modules/graphql/error/GraphQLError.mjs" for import "GraphQLFor
No description
fascinating-indigo
fascinating-indigo1/13/2025

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/.
...
rival-black
rival-black1/13/2025

useAutocomplete more then one field ?

how can I useAutocomplete for more then one field ?
like-gold
like-gold1/13/2025

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
fascinating-indigo
fascinating-indigo1/13/2025

Change default env var PUBLIC_URL

I want to change the PUBLIC_URL env var name to use CDN_URL but when run the refine dev script I have this error
Failed to decode param '/%CDN_URL%/env-config.js'
Failed to decode param '/%CDN_URL%/env-config.js'
...
ratty-blush
ratty-blush1/12/2025

Pulling data from supabase, using <Controller /> with a column that's an array?

Hello, I have the following setup: ```tsx import { useForm } from "@refinedev/react-hook-form"; ...
jolly-crimson
jolly-crimson1/12/2025

Multiple filterable tables in the same page

Is it even possible to have multiple filterable tables in the same screen? I am using next.js with refine and antd. And I need to have sometimes combine tables. When I filter something on one table, the url filters will be replaced if I do it in another one. For example this is url while filtering first table /combined-tables?pageSize=10&current=1&filters[0][field]=name&filters[0][operator]=in&filters[0][value][0]=laptop ...
ratty-blush
ratty-blush1/12/2025

Controller autocomplete is not displaying defaultValue, but dropdown options are still correct

Hello! I have the following code, and I'm trying to fill the autocomplete box with the current value of the row from supabase. It doesn't seem to be doing that and I am not sure why. ```tsx <Controller control={control}...
rival-black
rival-black1/12/2025

Remove or Uninstall devtools

how can I remove devtool ?
protestant-coral
protestant-coral1/12/2025

Modal form unsaved changes prompt settings

I'm using Ant Design, and I'm trying to set up a form that will be displayed within a Modal. I'm using useModalForm and everything works great, except for one thing. When I make any change and then try to close the form without saving, it shows the unsaved changes warning. However, when I then click cancel on the warning prompt, it then closes the form and Modal and goes back to the parent "list" page. And if I click OK instead (which should close the form), it keeps the form open and reverts my changes. ...
rival-black
rival-black1/11/2025

how can I stop accessControlProvider overflow requests from backed to get permissions?

permissions don't change much to not at all , why can't we get the user permissions ones ?
ratty-blush
ratty-blush1/11/2025

Weird POST request to a raffle API endpoint?

Hello! I'm developing my dashboard with Refine, and I have the network tab open to see what kind of requests Refine is making. I'm seeing a periodic request to a raffle API endpoint that keeps returning with an error 500. What is this?...
No description