Refine

R

Refine

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

Join

ask-any-question

discussions

adverse-sapphire
adverse-sapphire4/4/2025

ant design theme

I am trying to create a custom theme on ant design, changing all the colors. can you help me?
wise-white
wise-white4/4/2025

How to get other resource?

``` export default function MembershipList() { const [open, setOpen] = useState(false) const [selectedMember, setSelectedMember] = useState<IMember | null>(null)...
correct-apricot
correct-apricot4/3/2025

useget

@kapa.ai to get which mode is used currently dark mode or light how to get that, iam using themedLayoutV2
like-gold
like-gold4/2/2025

delete confirm modification

I want to modify the content modal that appears when you try to erase a entry using the deleteButton, being more specific i want to add a disable for 3 seconds to the buttons of the modal
eastern-cyan
eastern-cyan4/1/2025

Set a context upon user Login

How to fix a context value upon user Login in a refine app ?
evident-indigo
evident-indigo4/1/2025

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

How to style ant-layout-sider-trigger of sider ?
exotic-emerald
exotic-emerald3/31/2025

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
like-gold
like-gold3/28/2025

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 />} />...
eastern-cyan
eastern-cyan3/27/2025

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.
evident-indigo
evident-indigo3/26/2025

nestjsx-crud

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

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....
quickest-silver
quickest-silver3/25/2025

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 ...
conscious-sapphire
conscious-sapphire3/25/2025

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`....
conscious-sapphire
conscious-sapphire3/24/2025

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?...
adverse-sapphire
adverse-sapphire3/24/2025

useList pageInfo

I amtrying to access pageInfo in my react js code for following query ``` query Customers( $paging: OffsetPaging! $filter: CustomerFilter!...
evident-indigo
evident-indigo3/24/2025

<DocumentTitleHandler />

How to adjust the title of document ? Now it displays "{source} | Refine" - I want to replace Refine to my name
conscious-sapphire
conscious-sapphire3/21/2025

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?...
conscious-sapphire
conscious-sapphire3/20/2025

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?...
adverse-sapphire
adverse-sapphire3/20/2025

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 />)}...
eastern-cyan
eastern-cyan3/19/2025

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"