Refine

R

Refine

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

Join

ask-any-question

discussions

absent-sapphire
absent-sapphire8/10/2024

useTable expected API response

I'm having some difficulty displaying a table, using useTable and antd. I think the problem is in my API paginated response, but I can't find any resources on what the "standard" response that Refine can use with useTable. Any tips?
stormy-gold
stormy-gold8/10/2024

Dark mode

Hello devs, hope you all have great day. i have read the documents about switching dark theme but i could not make that button work . and the document is somehow confusing.
jolly-crimson
jolly-crimson8/10/2024

Auto logout

How to set auto logout if has no activity during 5min
helpful-purple
helpful-purple8/10/2024

No QueryClient set, use QueryClientProvider to set one Nextjs new cli command error

No QueryClient set, use QueryClientProvider to set one Nextjs new cli command error
like-gold
like-gold8/9/2024

using conditional dashboard on basis of role

I want to show different dashboards based on role of login member
foreign-sapphire
foreign-sapphire8/8/2024

Return nothing

If I don't want to return anything in the case when getBusiness().id returns null in the permanent filter, how would I achieve that? ``` export const DiscountList = ({ children }: React.PropsWithChildren) => { useDocumentTitle('Discounts - Applausio');...
like-gold
like-gold8/8/2024

How can i clone record

Cloning a record in table
like-gold
like-gold8/7/2024

edit button issue

"use client"; import { DataGrid, GridColDef } from "@mui/x-data-grid"; import { DeleteButton,...
eastern-cyan
eastern-cyan8/7/2024

how to remove unwanted banners

How to remove these banners in production and how to create production. And also need how to deploy this
No description
generous-apricot
generous-apricot8/6/2024

rapid dashboard development?

Can Refine be used to rapidly build complex dashboards like the fine foods example? I tried setting up an initial project and used the refine CLI to add a list resource which created a list component. Can the CLI be used to add other individual components or is it best to use the hooks and functions refine provides to copy and paste components in and wire them up manually?...
plain-purple
plain-purple8/6/2024

useSelect issue - After build TypeError: Cannot read properties of undefined (reading 'isFetching')

I am using useSelect like so: const { selectProps: categorySelectProps } = useSelect({ resource: "categories", optionLabel: "title",...
wise-white
wise-white8/6/2024

show notification using useModal

How to show center notifications like sweet alert using useModal
xenogeneic-maroon
xenogeneic-maroon8/6/2024

Invalidate a different resource with useDelete

I have a component that represents editing a single instance for a resource called 'transactions'. From that interface, I have the ability to delete instances from another resource called 'transaction-items'. How can I invalidate the "edit" query for the 'transactions' resource whenever I delete from the 'transaction-items' resource such that the details interface refreshes?
inland-turquoise
inland-turquoise8/6/2024

useDrawerForm using methods from two different data providers

@kapa.ai Is it possible to use a getOne from, for example a graphql dataProvider and an update call from a rest data provider in a single call?
sunny-green
sunny-green8/6/2024

Expo Router integration

Is there Expo Router integration?
sunny-green
sunny-green8/6/2024

Better Error notifications on Supabase Provider

How can I get a more user friendly message from supabase database provider for things like a unique constraint error message? For example I get this message now:
duplicate key value violates unique constraint
duplicate key value violates unique constraint
...
sunny-green
sunny-green8/5/2024

How to Change Page Title From Refine

I am using the CRM example as a starting point but I can't find how to change the Page title from having "Refine" in it. It is using the DocumentTitleHandler but I can't seem to figure out how to change it to our app name.
eastern-cyan
eastern-cyan8/5/2024

Refine/Remix/Yarn does not work in turborepo

Hi, I'm trying to run Refine/Remix in turborepo using Yarn 4.3.0 and Node 18.14. After creating the project and installing dependencies, I'm getting the following error: ``` yarn dev...
eastern-cyan
eastern-cyan8/5/2024

Nested resources under same resources

I try to use nested resources, more precisely i need to have multiple resources under one. But when i go to the list of thenested resource, if i use useParsed, it don't find the resource. Here is my example of resource : }, { name: "groups", list: "/groups", create: "/groups/create",...
jolly-crimson
jolly-crimson8/5/2024

reduce menu font size

how to reduce the menu font size