Refine

R

Refine

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

Join

ask-any-question

discussions

eager-peach
eager-peach5/4/2024

selectProps

is it possible to concat the optionLabel in selectProps so onselect show for example two diferent labels like "name" and "code": const { selectProps: selectPropsClients}, } = useSelect({...
sunny-green
sunny-green5/4/2024

Supabase Index

How do I useList an index from Supabase? Or is it not useList?
correct-apricot
correct-apricot5/4/2024

Filtering nestjs graphql useCustom

How can I pass the filtering value to graphql query
equal-aqua
equal-aqua5/3/2024

Live provider example

I am using django strawberry backend with graphql. I want to start a live provider from refine. Can you show me a simple example how to define and use a live provider with these components?...
continuing-cyan
continuing-cyan5/3/2024

production mode

after refine build, how can i satrt a refine project in production mode ? i'm using pm2 and i would top build consistent setup...
eager-peach
eager-peach5/3/2024

useOne

How to extract the value that is in another resource Ex: I wanto to extract the the iten.name from itens resource but I´m working in requisicaos resource const { data } = useOne({ resource: "itens", id: "",...
eager-peach
eager-peach5/2/2024

useState

How to setState of one route to be accessible in another route? Ex: <EditButton resource = "itens" hideText...
stormy-gold
stormy-gold5/2/2024

useAutocomplete defaultValues won't work

Hi, I want to use autoComplete in edit page. I use it like below but it didn't call "many" request....
fair-rose
fair-rose5/2/2024

why does this error occur?

``` Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/Users/developer/Desktop/ftp/smile-subscription24-admin-v2/smile-subscription24-admin/node_modules/@mui/material/Box' is not supported resolving ES modules imported from /Users/developer/Desktop/ftp/smile-subscription24-admin-v2/smile-subscription24-admin/node_modules/@refinedev/mui/dist/index.mjs Did you mean to import @mui/material/node/Box/index.js? at finalizeResolution (node:internal/modules/esm/resolve:249:11) at moduleResolve (node:internal/modules/esm/resolve:908:10)...
genetic-orange
genetic-orange5/1/2024

Error: Cannot find module 'next/navigation'

This error indicates that the Refine instance cannot locate the next/navigation module, which is essential for routing and navigation within a Next.js application. Explanation: The @refinedev/nextjs-router package, used for routing within Refine, is trying to import the next/navigation module....
stormy-gold
stormy-gold5/1/2024

Supabase- Filter useList by array with the "nin" operator

Hi everyone, I have a useList where I want to filter out a few users with a passed array. If I add a filter using the "in" operator, it returns the results filtered by the users in the array, however supabase throws an error when trying to use the "nin" operator. Is there a solution to filter in such a way? ``` const { data: reportsData } = useList<IReport, HttpError>({ resource: 'reports',...
fascinating-indigo
fascinating-indigo5/1/2024

What hook to use for simple array of strings

Hi, I created a resource called "Media" (its ment to be a media library). Now on the list page I want to display a grid of images, these image sources are the response of the request, its just a simple array with image urls (strings). What hook should I use to get all the images?...
equal-aqua
equal-aqua4/30/2024

Using Non Requirement Variables

I have this: query DriversList( $filter: DriverFilter $sorting: [DriverSort] $paging: OffsetPaging...
flat-fuchsia
flat-fuchsia4/30/2024

When can we have the HR application released?

Wanted to know if we can expect the release of HR application
absent-sapphire
absent-sapphire4/30/2024

devtools port setting

how can I change the port that devtools is running on
equal-aqua
equal-aqua4/30/2024

How to create dashboard

How do you create a dashboard in a next.js application that uses Refine? My app is using the 'pages' folder to handle routing and I can't find docs for how to do this.
sunny-green
sunny-green4/30/2024

Error during build

Using NX + Refine + Chakra, my app builds locally but not in CI (BitBucket). I get the following error: vite v5.2.8 building for production... transforming... ✓ 4 modules transformed....
extended-salmon
extended-salmon4/29/2024

queryResult without values

im using the useShow an follow the documentation i can do this: const { data, isLoading, isError } = queryResult; const task = data?.data; but my const task is undefined, how can i do?...
No description
xenial-black
xenial-black4/29/2024

Title: Ant Design Form Items Display Values Upon Submission

I am using the listing methods from RefineDev, such as useList, along with the Ant Design template. In all forms, when I submit, the value from the select input is displayed. For example, in the code snippet below, the ID is displayed upon submission. ``` const { selectProps: officesProps } = useSelect<any>({ resource: "offices", dataProviderName: "rest",...