Refine

R

Refine

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

Join

ask-any-question

discussions

puzzled-coral
puzzled-coral10/21/2024

add _id to as row.id for refine useShow

Hello, im having trouble trying to get data to return in the refine useShow. MongoDB returns _id as the row.id but useShow looks for "id", is there any way to let it use _id?
foreign-sapphire
foreign-sapphire10/21/2024

AuthProvider does not trigger check method after changing route (resource)

If I am inactive on a page for a while and after that change resource (page), AuthProvider does not trigger check method after changing route (resource), so I get unauthenticated error. Why?
foreign-sapphire
foreign-sapphire10/21/2024

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.
foreign-sapphire
foreign-sapphire10/21/2024

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',...
metropolitan-bronze
metropolitan-bronze10/21/2024

@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
xenial-black
xenial-black10/21/2024

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?...
fascinating-indigo
fascinating-indigo10/20/2024

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) {...
rare-sapphire
rare-sapphire10/18/2024

do not reset fields on submit

How can I stop refine from resetting all fields on submit at the login and register forms
sensitive-blue
sensitive-blue10/18/2024

data provider navigation

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

Unable to migrate from useDataGrid to useTable

This works fine: ``` const { dataGridProps } = useDataGrid({ dataProviderName: 'inspections', pagination: {...
No description
complex-teal
complex-teal10/16/2024

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

how to modify title in EditButton from @refinedev/mui
passive-yellow
passive-yellow10/15/2024

A tutorial in youtube

Do you have any tutorial on YouTube??
passive-yellow
passive-yellow10/15/2024

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...
other-emerald
other-emerald10/14/2024

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
extended-salmon
extended-salmon10/14/2024

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'
...
ambitious-aqua
ambitious-aqua10/14/2024

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
metropolitan-bronze
metropolitan-bronze10/13/2024

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
plain-purple
plain-purple10/12/2024

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....
victorious-gold
victorious-gold10/12/2024

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...
quickest-silver
quickest-silver10/11/2024

Multiple AuthProviders?

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