Refine

R

Refine

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

Join

ask-any-question

general

Dashboard log-in not working

I am trying to create a dashboard where i got inspiration from the following github: https://github.com/refinedev/refine/tree/master/examples/app-crm-minimal. Though when creating a log-in/register page i seem to not be able to see it when launching the live server. Instead i get the default ' Welcome Aboard! Your configuration is completed.'. How do i fix this?...

DASHBOARD_DEALS_CHART_QUERY not working

I'm working on a React application using the Refine framework along with GraphQL. I'm trying to insert mock data into a component using the useList hook. The mock data should be fetched from a GraphQL resource (dealStages) that I learned about in a recent YouTube tutorial. However, I'm encountering an issue where the data variable remains undefined, and I'm unable to retrieve any data. Below is the relevant part of my code: import { DASHBOARD_DEALS_CHART_QUERY } from '@/graphql/queries';...

There are any examples or guides on how to implement Clerk Auth Provider?

I'm trying to create a refine app with Clerk auth provider an supabase as data provider

defer useList load

Hi, I'm using a code like this one const [p, setP] = useState({})...

Weird edit() behaviour

Hi all, I'm experiencing a weird behaviour if I set an EDIT path for a resource, as soon as I go to that path the system is automatically trying to load the resource as [my_api]/resource/ID...

show() - edit() route customization

Hi, Is it possible to customize how the show and edit commands work? I need to use two different routes for the same resource based on a custom logic...

How to pass params into auth provider getIdentity using useGetIdentity?

How to pass params into auth provider getIdentity using useGetIdentity?

how to use multiple auth provider

How to use multiple auth provider? The case is I have a multiple login page inside the main auth systems

How to get success or failure notification after onsubmit?

``` export default function NatureClassCreate() { const currentPath = usePathname(); const firstSegment = currentPath.split('/')[1];...

Access axios instance used to create data provider

Is there a way to access the axios instance that I used in the creation of my data provider elsewhere in the code? I need to manually submit an axios request, and I want access to the interceptors I setup when creating the dataProvider that's registered to <Refine>.

What's the recommended way to handle API requests that aren't closely-couped with a resource?

For example, I have an API request that enqueues an async job that updates multiple entities.

Next.js & Ant Design - Custom ThemedLayoutV2 not working

Hi, I tried to swizzle the ThemedLayout as I need to edit the Sider. But if I follow the documentation: src/app/layout.tsx ``` ... <Refine ...>...
No description

How to setFilters with custom parameters with Antd useTable?

I am using Antd useTable hook. How can I use setFilters? ``` const { tableProps, tableQuery: { refetch }, filters, setFilters } = useTable<Accounting>({...

I would like to upload an image

``` export default function NatureClassCreate() { const currentPath = usePathname(); const firstSegment = currentPath.split('/')[1];...

Issue with ERR_REQUIRE_ESM When Launching examples/base-material-ui

Hello, I am encountering an error when trying to start the examples/base-material-ui project. The error message is as follows: ```...

How can I get to edit/[id] id number?

How can I get to edit/[id] id number?

How do I draw a datagrid when there is an array under the object?

When you get /nature resource The data comes down as "products": [{id:1, name: fff}, {id:2, name: dddd}]. In this case, how can I draw the array in products in datagrid?...

When I create a folder within the app, it becomes a uri path.

How do I get this NatureClass use it? ``` export default function NatureClassCreate() { const {...

Unsaved changes.

Hi, I don't know what I am doing wrong, I have built other pages, and I don't have a problem, but on this specific one, I cannot figure out what I am doing wrong. When I press save, I get the pop-up saying I have unsaved changes. How can I solve this? I don't want to lose the reminder. I just want to save without that alert...

How to search in datagrid

It seems like the docs are describing some props that don't exists formSearchProps, so if not with that, how do I filter the table based on a search query?