Refine

R

Refine

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

Join

ask-any-question

discussions

quickest-silver
quickest-silver4/29/2024

How to draw an array list with 3rd depth?

``` interface ISubscriptionDetail { id: number; member_name: string; member_id: string;...
genetic-orange
genetic-orange4/29/2024

I want to create a single custom POST route in my app!

Currently using supabase as data source provider I'm unable to find documentation for it! I'm using react router and I tried action or followed react-router docs to create post request but it isn't working, can somebody tell me how can I create a custom POST api endpoint!? I will be grateful 🙂
foreign-sapphire
foreign-sapphire4/28/2024

Reuseing resources across different projects - microservice architecture

Hi there, I'm pretty excited about using refine. I have tinkered around with it in one of my projects. But I do have a usecase which I do not see covered. Let's assume you have multiple microservices and want to provide a small frontend for each of the microservices. So this can be deployed independently. ...
rival-black
rival-black4/28/2024

Paginaton

How does the pagination work how should the backend api be created
stormy-gold
stormy-gold4/28/2024

How can I use an actual <List> element instead of a <Table> in ant design list page

I would like to render data inside a list, instead of using a table, I want to do that in the list page, how can I do this?
rising-crimson
rising-crimson4/28/2024

using multiple data provider

import { AreaChartOutlined } from "@ant-design/icons"; import { Card } from "antd"; import React, { useMemo } from "react"; import { Text } from "../Props/Text"; import { Area, AreaConfig, Line } from "@ant-design/plots";...
fascinating-indigo
fascinating-indigo4/26/2024

Refine dist folder removed @refinedev/core/dist/interfaces

I cannot upgrade because there are tons of missing dependencies now. None of these imports work anymore: ```...
fascinating-indigo
fascinating-indigo4/26/2024

useExport download is occurring even with download = false

I have a useExport hook with download set to false in my export options. It seems that the browser is still downloading the file and the trigger is not returning the data.
relaxed-coral
relaxed-coral4/26/2024

Issue with useShow

I have this code: import { FC, useMemo } from "react"; import { useParams } from "react-router-dom"; import {...
frozen-sapphire
frozen-sapphire4/26/2024

Menus & access control

How to load at once all menus that a user as access using access control
national-gold
national-gold4/25/2024

Disable save button on edit page

How would I disable save button on edit/create page once user clicks on it? I have API request in my onFinish function so it taks a second to resolve and the button can be clicked in the meantime - I don't want that
relaxed-coral
relaxed-coral4/25/2024

Two resources in a single page

I want to create a single page with two different resource tables on it. Is it possible? How should I need to configure my Route on App.tsx? ...
extended-salmon
extended-salmon4/25/2024

errors with docker next.js

I keep having this error when building the docker image on refine with next.js >>> COPY --from=builder /app/refine/public ./public ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref : "/app/refine/public": not found I changed the base dockerfile from refinedev/node:18 to node:18-alpine with some other changes...
vicious-gold
vicious-gold4/25/2024

Update singletype Strapi V4 record

How can I update a single type record on strapi?
conscious-sapphire
conscious-sapphire4/24/2024

how to set a filter to a table based on a value that is from another table

I am developing an application using refine and supabase. I have a table called OrderProduct which is an intermediate table between two 3 tables. Client, Product and Order. The issue is that I have to make a filter based on a value of the table Order. which is the Status, and I can not do it correctly. Currently I get an error that order_product.status does not exist (Duh). But I can't figure out how to do this. this is the IOrderProduct id: number; order_id: number;...
fair-rose
fair-rose4/24/2024

how to set custom url for antd useForm hook

const { id } = useParsed(); const { formProps, saveButtonProps, queryResult } = useForm(); I have this setup in my edit screen, and I want to specifically call api/user/getUser for the fetch, and i want to also set api/user/updateUser as the update url. How can i customize those?...
rival-black
rival-black4/24/2024

Module under Module

Okay so i am using refine+anyd+supabase, i am making project module and under my project module i have task module. So I have a table project and when i show one project, i can navigate to task module but the problem is when i am showing my task table and when i click on create it shows me the form to create project. Please help me out
foreign-sapphire
foreign-sapphire4/24/2024

datagrid resizeable colum

Hi, How can I enable resizing colum in list view?...
dependent-tan
dependent-tan4/24/2024

Notification provider customization with toast syntax error.

copied straight from the documentation. i get an error in this file. 11 │ progress: undoableTimeout && (undoableTimeout / 10) * 2, 12 │ render: ( 13 │ <UndoableNotification...
adverse-sapphire
adverse-sapphire4/24/2024

Example with NX, Vite, React Router & Chakra UI

Hi! I'd like to start building our company's new CRM with Refine within an NX monorepo . I've tried to get this example running: https://github.com/refinedev/refine/tree/master/examples/auth-chakra-ui, but I get the error: ``` Uncaught Error: useLocation() may be used only in the context of a <Router> component. at invariant (@refinedev_react-router-v6.js?v=48eae912:806:11)...