Refine

R

Refine

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

Join

ask-any-question

general

Resource gets created twice when submitting with enter

When I want to create resource, it gets created twice when I submit the antd form with enter. If click on the Save button with mouse, it works as it should - only creating one entity.

Edit resource name

When I create membership-typ, I get back message Successfuly created membership-type. How can I edit what the resource is string representation is here? I specified name and indentifier but it does not work. ``` { name: 'membership types', identifier: 'membership-types',...

@graphql/schema.types not working

I have done all the necessary steps beforehand to use import type { User } from '@/graphql/schema.types', but i still get this Cannot find module '@/graphql/schema.types' or its corresponding type declarations. Can someone help me?
No description

How to display Auth Provider Method Errors on Login Page?

We are using Refine Auth Provider and have implemented all the methods including check. During check, we may get an error and in such a case we want to redirect to login page. The redirection is working since we are returning Promise<CheckResponse> as per the documentation. However, we are also passing an error message in CheckResponse object. The expectation was that the login page would show the error message using Notification Provider configured in Refine. However, we are not seeing the error on the login page via Notification Provider. I have checked that the CheckResponse object is properly populated with the right error message. How can we make this redirection + error notification work?...

How to pass variables for graphql query in specific format?

This is my mutation ``TS export const SIGNUP_MUTATION: TypedDocumentNode<AuthResponse, SignupVariables> = parse(gql mutation Signup($input: SignupInput!) { signup(input: $input) {...

do not reset fields on submit

How can I stop refine from resetting all fields on submit at the login and register forms

data provider navigation

getOne: async ({ resource, id, meta }) => { console.log(resource, id); const token = localStorage.getItem(TOKEN_KEY); // const { list } = useNavigation(); ...

Unable to migrate from useDataGrid to useTable

This works fine: ``` const { dataGridProps } = useDataGrid({ dataProviderName: 'inspections', pagination: {...
No description

how to modify title in EditButton from @refinedev/mui?

how to modify title in EditButton from @refinedev/mui

A tutorial in youtube

Do you have any tutorial on YouTube??

A tutorial please

#ask-any-questions Hi I am new programmer I need some help on how to use it this refine so could please send me step by step tutorial?? Thank You...

Problems with tailwind css

I have installed tailwind css and some styles work but others don't. for example. On my sidebar a tags with styles works fine but on main part of app in form and other tags its dont work

Did you mean to import "prettier/standalone.js"?

Getting this error on Remix with this code:
import { ChakraUIListInferencer } from '@refinedev/inferencer/chakra-ui'
import { ChakraUIListInferencer } from '@refinedev/inferencer/chakra-ui'
...

Problem with linking the queryclient being used in refine's hooks and custom hooks

I am trying to wrap Refine with my own controlled queryClient but it doesn't work refine still working separately that i cant catch any query, mutation in tanstack dev tool

Why can I select chakra UI now

When I try to create a new project, I can find the option to select chakra UI, is it removed?
No description

How can I make changes in `node_modules/@refinedev` reflect in the build?

I try to track down a bug and just want to make some console.logs in node_modules/@refinedev. However, the changes do not reflect. How can I fix this? PS: Rebuilding the @refinedev package seems to be a lot of work. Looking for a shortcut....

I'm using Hasura and I have a table called "settings" where primary_key or pk is key and not id

How can I use custom pk and its type as String? I saw an old post idColumnName but that is not working...

Multiple AuthProviders?

Hello, Is there a way of adding multiple authProviders? I'd like to use custom provider and google auth...

setting default value in useForm

const { formProps, saveButtonProps, queryResult, form,...

Make sure toggle is enabled if edit has a value

In react and antd design, I have this component, I want the toggle to be checked on the edit page IF the fields have a value, but only by default, you should still be able to untoggle it without unsetting the value manually: <Row> <Col span={2}> <Form.Item name="bidWindowToggle"...
Next