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({...
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?...
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...
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: "",...
useState
How to setState of one route to be accessible in another route?
Ex:
<EditButton
resource = "itens"
hideText...
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....
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)...
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....
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',...
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?...
Using Non Requirement Variables
I have this:
query DriversList(
$filter: DriverFilter
$sorting: [DriverSort]
$paging: OffsetPaging...
When can we have the HR application released?
Wanted to know if we can expect the release of HR application
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.
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....
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?...
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",...