Refine

R

Refine

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

Join

ask-any-question

discussions

optimistic-gold
optimistic-gold4/6/2024

Bug or misconfiguration

```jsx ... <Drawer {...cdrawerProps}> <Create saveButtonProps={csaveButtonProps} goBack={false}> <Form {...cformProps} layout="vertical">...
extended-salmon
extended-salmon4/6/2024

Passing extra parameters in EditButton

I want to pass an extra query parameter when editing a record using the antd <EditButton> element. How can I pass an extra parameter to the details form?
extended-salmon
extended-salmon4/6/2024

Pass extra parameters in useForm

How can I pass extra parameters during the save operations in the antd useForm hook? For example, I want to pass all of the form data and then another parameter called "entityTypeId".
absent-sapphire
absent-sapphire4/6/2024

Prisma data provider

Please how can i integrate prisma orm as data provider . I will be more than grateful...
absent-sapphire
absent-sapphire4/6/2024

Prisma data provider

Please how can i integrate prisma orm as data provider
continuing-cyan
continuing-cyan4/6/2024

check called after register

Check allwyas seems to be called after register and if check result is false the isSuccess will not be set for register and neither will the onSuccess method be called
extended-salmon
extended-salmon4/5/2024

useTable only when a parameter is set

I want to display a table only after the user has selected a value from a dropdown: say "entityType". How can I do the call to useTable and then render the table only when "entityType" is set? I'm currently passing the value of "entityType" to useTable as part of the filters.permanent property.
extended-salmon
extended-salmon4/5/2024

Passing parameters to useGo

How can I pass parameters to useGo such that the component it routes to can then reference them?
other-emerald
other-emerald4/5/2024

the dashboard is not loading

I don't have any errors and I progressed till 2:38:50 ish..but suddenly the dashboard is not loading and its shows up blank.
extended-salmon
extended-salmon4/5/2024

useExport making GraphQL request before triggered

We have a useExport hook we are using on a page and it appears to be fetching data from the server even when it is not triggered. I see that queryOptions are not supported with useExport, getList so how can we disable the fetch until the export is triggered?
helpful-purple
helpful-purple4/5/2024

How can re-init accessControlProvider ?

```import { CanParams, CanReturnType } from "@refinedev/core"; const user = localStorage.getItem("user"); export const canPMP = async ({ resource, action, params }: CanParams): Promise<CanReturnType> => { const myProductRole = localStorage.getItem("myProductRole"); console.log({ myProductRole });...
quickest-silver
quickest-silver4/5/2024

The request 'lodash/debounce' failed to resolve only because it was resolved as fully specified

After last update, I'm getting The request 'lodash/debounce' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"'). It looks like it's related to devtools. ...
mute-gold
mute-gold4/5/2024

Can I modify the column in useMemo so that I can control it myself?

```const columns = React.useMemo<GridColDef<IPointValues>[]>( () => [ {field: 'id', headerName: 'ID'}, { field: 'order_id',...
fascinating-indigo
fascinating-indigo4/4/2024

auth.ts:47 Error: expecting a value for non-nullable variable:

below is my mutation export const CREATE_PRODUCT_MUTATION = gql` mutation createProduct($image: String, $variants: [variants_insert_input!]!) { insert_products_one( object: { image: $image, variants: { data: $variants } }...
extended-salmon
extended-salmon4/4/2024

Company page

i am using supabase+refine+antd. I am done with the authentication but i now i want whenever a user logins for the first time, they have to register their company or join one. So i want to create the company page and how do i make sure that user only gets forward if they registered in a company.
harsh-harlequin
harsh-harlequin4/4/2024

Grab itens from website

How to grab some informations from a external website to insert it or show in a page or resource
optimistic-gold
optimistic-gold4/4/2024

Dockerfile Config using NGINX for Production

Hello, https://github.com/refinedev/dockerfiles/blob/main/nextjs/Dockerfile i referred the above repo but when i don't get proper nginx configuration for nest.js....
optimistic-gold
optimistic-gold4/4/2024

useSelect encoded query params

My backend is returning an error because useSelect is adding extra stuff i dont need to the call.. how can i omit the encoded useselect queries at hook level? i am getting an error because it's adding invalid encoded queries automatically http://127.0.0.1:8090/api/collections/categories/records?page=1&perPage=500&skipTotal=1&sort=undefined&filter= 400 (Bad Request) this is the call the useSelect is making, i need to make it without any of the query parameters...
correct-apricot
correct-apricot4/3/2024

How to redirect to different resource list on useModalForm

Let say i am using using useModalForm() and define resource "a" for that. But after submited i want it redirect to resource "b" list page. Help me to achieve that.
rival-black
rival-black4/3/2024

queryFieldsMap reading properties of undefined useList

Im getting undefined TypeError: Cannot read properties of undefined (reading 'length') at eval (Utils.js:42:67) at Array.forEach (<anonymous>) at eval (Utils.js:40:39)...