Refine

R

Refine

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

Join

ask-any-question

discussions

unwilling-turquoise
unwilling-turquoise9/3/2024

getValueProps

How to get value from a radio group on edit page
extended-salmon
extended-salmon9/3/2024

How to make resource icons more flexible?

Hi there, I'm creating something like a CRM using Refine with Next.js and a Headless UI framework (I'm using Shadcn), so, I already have my resource items like this: ``` import { IResourceItem } from "@refinedev/core"; import { Building2, Home } from "lucide-react"; ...
frail-apricot
frail-apricot9/2/2024

Redirection only works in optimistic mode

I am using next js, ant ui, and supabase. The redirection after submission using the useForm hook only works in optimistic mutation mode, no error is given
frail-apricot
frail-apricot9/2/2024

onMutateSuccess in useForms hook not calling after successful create/edit call

I was trying to figure out why my redirects aren't working after submitting. After a bit of diving, i figured that even after a successful create/edit action, the onMutateSuccess hook doesn't actually gets called by the form, hence no redircting. However, the notification does show successful call. I wonder if anyone have experienced something like this before? btw I am using ANT ui , next, and supabase. best!...
genetic-orange
genetic-orange9/2/2024

is there a way to add a custom name in login default values or we need custom component

import { AuthPage } from "@refinedev/mui"; import { CustomLogo } from "./CustomLogo"; export const Login = () => { return (...
fair-rose
fair-rose9/1/2024

Dropdown with EditButton, ShowButton and DeleteButton

How to dispaly multiple buttons with <CanAccess> for each table row
wise-white
wise-white9/1/2024

Cannot update password using supabase auth

Here is my repo: https://github.com/ThomasBurgess2000/budget I created it using the supabase default project for NextJS. Whenever I tried to reset the password, I get a reset link sent to my email, but whenever I go to that link it just takes me to the login page. I thought it was supposed to log me in and take me to an update password page. ...
fair-rose
fair-rose9/1/2024

how to extend Table.Column as different component

I want to extend some common column like, updated at, serial number etc
wee-brown
wee-brown8/30/2024

How can I check authorization in React Server Actions using NextJS?

I am using React Server Actions where I need to verify the identity of the currently authenticated user. How can I access this server side, since hooks are not available in React Server Actions and the Auth Provider seems to be client side?
metropolitan-bronze
metropolitan-bronze8/30/2024

create modal to show

Is there a way to use a modal only to show an element and not to edit?
wise-white
wise-white8/30/2024

top level resources defining custom meta data value

on the top level resources defining custom meta data value will this make its wasy down to the data provider i am wanting to keep the resource name simple but passing resourceRoute { name: "bankAccounts", show: "/accountsAndWallets/bankAccounts/show/:id",...
conscious-sapphire
conscious-sapphire8/30/2024

useApiUrl breaking code

import { getValueFromEvent, useModalForm, useSelect } from "@refinedev/antd"; import { useApiUrl, useGo } from "@refinedev/core"; import { Form, Modal, Input, Divider, Upload } from "antd"; import { supabaseClient } from "../../utility"; ...
graceful-blue
graceful-blue8/30/2024

Useselect Disable Api call When Changes

<Select
showSearch={false} style={{ width: 150 }} placeholder="Firms"...
like-gold
like-gold8/30/2024

[useUpdate]: `id` is not defined but is required in edit and clone actions

@kapa.ai when adding uploads to an edit form and submitting, I recieve the error: [useUpdate]: id is not defined but is required in edit and clone actions but id is present in the payload. what might be the issue here?...
correct-apricot
correct-apricot8/29/2024

crm own graphql endpoint

I want to connect my own graphql endpoint while testing the crm app locally, but I haven't succeeded yet. Is there a tutorial or something for this?
flat-fuchsia
flat-fuchsia8/29/2024

error title

why i follow the Refine AuthPage title to do have the title error of the ` title={ <ThemedTitleV2 title="My Title" icon={<img src="https://refine.dev/img/logo.png" />} />...
flat-fuchsia
flat-fuchsia8/29/2024

error unknow

why i follow the Refine AuthPage title to do have the title error of the <ThemedTitleV2 title="My Title" icon={<img src="https://refine.dev/img/logo.png" />} />...
flat-fuchsia
flat-fuchsia8/29/2024

change refine logo

i want to remove refine logo and the link bar on top
No description
stormy-gold
stormy-gold8/29/2024

useMany and REST API

Hello, I would like to add the logic to my backend to make the useMany hook work. Here is my Controller:...
other-emerald
other-emerald8/29/2024

Custom delete mutation

Is there a way to specify what mutation is executed when clicking on the DeleteButton. I want to have custom delete logic on the backend.