Refine

R

Refine

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

Join

ask-any-question

general

Set a context upon user Login

How to fix a context value upon user Login in a refine app ?

How to style ant-layout-sider-trigger of sider ?

How to style ant-layout-sider-trigger of sider ?

Arm64 Support

Hello! I am trying to deploy a refine web app using vite on an arm64 node and i cant make it work! Can someone provide any information regarding refine and arm64 support? Thanks in advance

resource

I am trying to understand why resource are not avilable from one of my new pages ``` <Route path="/post"> <Route index element={<ListPost />} /> <Route path="/post/create" element={<CreatePost />} />...

Partial route from Select

How to have a header containing a <Select> component reflecting entities user has access to, when user change the selected value in this <Select>, it changes route "/entities/:selectedEntity/test" to new value like /entities/1/test if selected value is 1. This route is initialized to first value of select by default.

nestjsx-crud

my request like this ```const { tableProps, searchFormProps } = useTable({ syncWithLocation: true, onSearch: (values) => { setSearchFormValues(values as Record<string, any>);...

How to automatically pass parameter to CanParams in Access control

I have an application with routing enabled and customerId a parameter of the routes : ex : /customer/:customerId/users or /customer/:customerId/locations/:locationId And I want the :customerId parameter of route to be used automatically in CanParams.params of my accessControlProvider to apply customer permissions....

Error returns the message as an array instead of a string

this is my api response
{"statusCode":400,"message":"This name is already taken","error":"Bad Request","errors":{"name":["This name is already taken"]}}
{"statusCode":400,"message":"This name is already taken","error":"Bad Request","errors":{"name":["This name is already taken"]}}
but when i call the following function ...

Next.js, Material UI of refine.dev error

Hello support team, I used refine.dev with material UI and Next.js but I am getting `` Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of RootLayout`....

react-query version compatibility issue

I am using @ferdiunal/refine-shadcn library and refine dev libraries for my Next.js. I am using pnpm and it's getting error while install the packages because of react-query version issue. @ferdiunal/refine-shadcn requires ^5.5 but @refinedev/core requires ^4.10.1. So it leads me into several issues and I can't run the project. How to fix this issue?...

useList pageInfo

I amtrying to access pageInfo in my react js code for following query ``` query Customers( $paging: OffsetPaging! $filter: CustomerFilter!...

<DocumentTitleHandler />

How to adjust the title of document ? Now it displays "{source} | Refine" - I want to replace Refine to my name

I am getting TypeError: Cannot read properties of undefined (reading 'list')

I used @ferdiunal/refine-shadcn in my Next.js project, and copied same code in the example but getting I got TypeError: this[#client].defaultMutationOptions is not a function error. I searched about that but everyone says it's react-query problem. So I downgraded react-query to v4. then I am getting TypeError: Cannot read properties of undefined (reading 'list'). How to fix this issue?...

I am getting TypeError: this[#client].defaultMutationOptions is not a function error

I used @ferdiunal/refine-shadcn in my Next.js project, and copied same code in the example but getting I am getting TypeError: this[#client].defaultMutationOptions is not a function error. I searched about that but everyone says it's react-query problem. How to fix this issue?...

I can't show the Hide/Show icon in input.password form inside authPage tag

used refine antd for authpage, and i wanna show the icon of show/hide password <Input.Password placeholder="Password" iconRender={(visible) => (visible ? <EyeOutlined /> : <EyeInvisibleOutlined />)}...

Warning: There may be circular references

It seems when using form.setFieldValue() method on a form created with useForm(), I got this error : "Warning: There may be circular references"

uselist or useSelect

i am calling a table on strapi and trying to use useSelect but I need to filter for multiple <Select />. I can do it by using multiple useSelect with filters but I wanted to do only one call. is there a solution?

Supabase column filter and !inner in query

I have some join tables in my supabase database let say "devices" and "locations" defined like this : ``` devices { id : bigint, name: text,...

GraphQL with useUpdate Variable "$id" is not defined

Hi, I have a problem with my useupdate hook where it doesn't read the ID I gave.
No description

notification

Iam using refine MUI, how can I add notification gui elemnts and logic I have a custom notification backend using websocket...
Next