Refine

R

Refine

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

Join

ask-any-question

general

Set field after modalForm submision

in ant design, I have a form to create a man, in the form is a select component to choose a wife for him (it uses a 'useSelect' hook to fetch the wives list) with a button below the component that opens a modal form to create new wife, I need that after the modal is submitted, the new person created is selected and setted in the select component

How To use useNavigation 'create' function with additional query params or passing additional data

How to pass additional data when using useNavigation hook when navigating to create resource?

InputLabelProps shrink not working

I have the following create component, that uses InputLabelProps with shrink rule listening to hook form, but when something is typed in the input, the label stays above the text typed. how can i fix it? code below: import React from "react"; import type { HttpError } from "@refinedev/core";...

Api request on button press

So I have a resource where the status can be approved or rejected by doing /budget-requests/{id}/approve or ..../reject, what hooks can I use to call this on button press?

I have a problem deploying my refine project in Railway.

I have a problem deploying my refine project in Railway. It worked pretty well in Vercel, i had a problem with 404 when acessing other client side routes, but i just had to add vercel.json file in the root directory. Now in railway i am facing the same problem. What can I do?

where to find default pageSize?

in my dataprovider, i did not specify any pagination paramaters, but it is being defaulted to 25, how to change that?

How to mirror api.crm.refine.dev graphql setup on localhost app so i can host the data locally?

How can I setup my own graphql endpoint using the schema.graphql provided by https://api.crm.refine.dev/graphql so that I can host the graphql endpoint locally, effectively changing the endpoints of https://api.crm.refine.dev/graphql to http://localhost/graphql ?

How to cache data when using useList hook?

Currently calling the hook like this: ``` const { data: componentsData, isLoading } = useList({ resource: 'components', meta: { variables: { customerCode, environmentCode } },...

I am getting: TypeError: Cannot read properties of null (reading 'identifier'). How do I fix?

When launching refine, I get the error TypeError: Cannot read properties of null (reading 'identifier') What could be the problem?...

Query Multiple Resources at Once

Is it possible to query multiple tables at once in order to avoid potential side-effects with different number of renders and improve efficiency? See: ```js const { dataGridProps } = useDataGrid(); ...

Implement Oauth PCKE flow

Hi, I want to implement social logins into custom auth, but these all require a callback route and I was wondering how to deal with all that on refine.

Next.js 15

I am wondering when you will support next.js15? #nextjs

TanStack router support

is it possible to use Refine with TanStack Router?

useParsed

useParsed memo is not stable

Foreign Key in Meta.Select

Does anyone know how I can reference a column from the parent in meta. select? See: ```js <Refine dataProvider={dataProvider(supabaseClient)}...

How to get logged user ID from data provider?

I have a custom data provider. On the create function, I want to pass the logged user ID to the body of every create request. How can i do this? This is my create function on Data provider ```...

AutoComplete not being filled automatically

Hello, i have an AutoComplete component inside a Controller from Hook Form, both inside an Edit view component of MUI. The other fields are automatically filled with the response from the request that the Edit component calls. But my AutoComplete doesn't fill with the value coming from the response. My code below: const { autocompleteProps: processTypeProps } = useAutocomplete<any>( { resource: "process-type", }...

Overriding refreshButton onClick handler

How can I override the onClick handler for the refresh button displayed in the Edit "Basic View" component?

How do I integrate MongoDB Backend to refine app-crm-minimal template?

I have an app that I have setup with the example: https://github.com/refinedev/refine/tree/master/examples/app-crm-minimal But using this structure, I wanted to integrate my MongoDB backend as the data provider, but I'm having some trouble understanding this example structure...

useDataGrid

data changes and causes extra draws
Next