Refine

R

Refine

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

Join

ask-any-question

discussions

sensitive-blue
sensitive-blue3/27/2024

AntD Refine show 1 record

I want to create a page to show a record in my table using Refine and Antd. What's the proper conventional way to code the "show" page using useOne and setup so that it dynamically get the id from the route "show: "/patient/show/:id"?
other-emerald
other-emerald3/27/2024

Refecth query on error using useForm in REST and antd

I have this: ``` const { form, formProps, saveButtonProps, onFinish, queryResult } = useForm({ id, action: RESOURCES_ACTION_EDIT,...
optimistic-gold
optimistic-gold3/27/2024

How to add custom navigation item to sider in antd design

I would like to add another element to the sider called "Profile", which should allow the user to see and edit their own profile. How can I do this?
optimistic-gold
optimistic-gold3/27/2024

Remove logout button from sider

how can I remove the logout button from the sidebar, while keeping all other functionality
fair-rose
fair-rose3/26/2024

Change app title from "refine" to anything else

How can I remove the default title? I've double checked anywhere I can think of changing it, but have no luck as it seems to override anything I set. In my index.html, I have the following set: ```html <!DOCTYPE html> <html lang="en">...
puzzled-coral
puzzled-coral3/26/2024

Invoice generator app

I got axios error with invoice generator app https://invoice-generator.refine.dev/ there is a problem with login...
harsh-harlequin
harsh-harlequin3/26/2024

listing nested data

@kapa.ai hi there am trying to list data from an api response and the data that am trying to list is nested in the first record ... how to do that?
fair-rose
fair-rose3/26/2024

custom notificationProvider with custom types

I'm trying to create a custom notificationProvider, but I want to add more types to the notifications, how can I do it?
fair-rose
fair-rose3/26/2024

notification that not closes automaticly

How can I create a notification with useNotification that not closes automaticly?
sensitive-blue
sensitive-blue3/26/2024

Refine AntD Form create new records

How do I conventionally code a component that have an antd "Form" with input, map those inputs to each field of the type of that table in the database (I use Supabase), and POST that. This is the sumarry of my create page, anything I'm missing? Show me a full code of a page how to do this properly. import { Form, Input, Modal, Select } from 'antd';...
plain-purple
plain-purple3/26/2024

nextjs

Hi everyone, what is the recommended way to build an app with Refine, using Next.js or React?
exotic-emerald
exotic-emerald3/26/2024

WebSocket is closed before the connection is established (localhost:5002)

Hello Just following refine's supabase tutorial, I just setup the project (no crud yet), and can't go /login : it gives me a blank page with a network warning about websocket...
national-gold
national-gold3/26/2024

How to make a download from public directory (Next.js frontend)

I am using Next.js frontend and I want to add the user to download a pdf file. I created /src/public/a.pdf and put <a href="/a.pdf">xxxx</a> into the code. I always get 404. I checked every corner on the web. Can somebody point me in a direction how to do it correctly? Thanks, V....
ambitious-aqua
ambitious-aqua3/26/2024

Question about Refines backend

I’m just starting off working with the template CRM app mainly for its Kanban board. I deployed the app to Vercel and I’m in the process of customizing it now. The app still works and saves new items to the Kanban board. It’s still using the default GraphQL connections. Where does the new data go as I create it? ...
sensitive-blue
sensitive-blue3/26/2024

Nested route problems

I'm using Refine and Antd. My app.tsx: <Refine dataProvider={dataProvider(supabaseClient)} liveProvider={liveProvider(supabaseClient)}...
fair-rose
fair-rose3/26/2024

Error when submitting form via Ant Design's useModalForm.

I get the following error:
Converting circular structure to JSON --> starting at object with constructor 'HTMLSpanElement' | property '__reactFiber$xj14eaifikr' -> object with constructor 'FiberNode' --- property 'stateNode' closes the circle
Converting circular structure to JSON --> starting at object with constructor 'HTMLSpanElement' | property '__reactFiber$xj14eaifikr' -> object with constructor 'FiberNode' --- property 'stateNode' closes the circle
Can you help determine what the issue might be? Here's my code:...
rival-black
rival-black3/26/2024

refine

how to use refine with firebase?
xenial-black
xenial-black3/25/2024

ThemeLayoutV2 Modification

How do I modify the ThemeLayoutV2 or Sider for Antd5 so that the default behavoir is to land on the "create" page of one of my resources?
equal-aqua
equal-aqua3/25/2024

Confirmation on mutate update

How can i add Confirmation on mutate update for useUpdate
afraid-scarlet
afraid-scarlet3/25/2024

Login/ Register auth

Hello, im following this tutorial https://youtu.be/6a3Dz8gwjdg. Everything was working fine until i opened my project and there is an update. Since then i cant login nor register. ...
No description