Refine

R

Refine

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

Join

ask-any-question

discussions

narrow-beige
narrow-beige2/14/2025

Logical filters "or" / "and" do not work with deep filtering

I am using supabase and antd design. I have a table where I want to filter foreign object with an OR filter but I get the error 'unexpected "z" expecting "not" or operator (eq, gt, ...)' '"failed to parse logic tree ((point_de_collecte.zone_de_collecte_id.eq.1))" (line 1, column 22)'...
manual-pink
manual-pink2/14/2025

useSelect with custom label function

I want to use the refine/antd useSelect, but I want a custom function to determine the label for each element of the resultant <Select> component. Is there a way to do that?
extended-salmon
extended-salmon2/13/2025

CustomAvatar not recognized

i get the following error in the customavatar file inside components folder: Cannot redeclare block-scoped variable 'CustomAvatar'.ts(2451) const CustomAvatar: ({ name, style, ...rest }: Props) => JSX.Element. this is my code: import React from "react"; import type { AvatarProps } from "antd";...
extended-salmon
extended-salmon2/13/2025

CustomAvatar not recognized

i get the following error in the customavatar file inside components folder: Cannot redeclare block-scoped variable 'CustomAvatar'.ts(2451) const CustomAvatar: ({ name, style, ...rest }: Props) => JSX.Element. this is my code: import {CustomAvatar} from "@/components/custom-avatar"; import { Text } from "@/components/text" import { AccountSettings } from "@/components/layout/account-settings"; ...
extended-salmon
extended-salmon2/13/2025

"@refinedev/kbar" not working

how do i install : "@refinedev/kbar" using npm install since it is not a working package
future-harlequin
future-harlequin2/13/2025

Transform Antd useForm Values on Submission

How can I transform the user's entered values before they are submitted with useForm from refinedev/antd?
fascinating-indigo
fascinating-indigo2/13/2025

onSearch in useSelect is not working with nested filter

I'm using supabase with antd and I cannot make it work to search inside !inner I get this error: { "code": "PGRST100", "details": "unexpected "t" expecting "not" or operator (eq, gt, ...)",...
subsequent-cyan
subsequent-cyan2/12/2025

i18n make another language default language

using i18n provider to make spanish or any other language the default for the template
extended-salmon
extended-salmon2/12/2025

vite-tsconfig-paths not working

I have the following code but for some reason vite-tsconfig-paths is not recognized and therefore i get an error when running the code: import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; // https://vitejs.dev/config/...
foreign-sapphire
foreign-sapphire2/12/2025

Apply form to multiple parent ids

I have an api where I have a list of some items, and each item has other sublists, in this case some controls. I need to create a form that shows the controls data for a selected item, and when the user clicks apply it opens a dialog that shows the changes, and most importantly it should have the option to select which items to apply the changes to (current item will be selected by default). How can I achieve that? I'm using Ant Design for ui....
conscious-sapphire
conscious-sapphire2/12/2025

Why does client-side sorting only sort the data on the current page?

my current code regarding the issue: ```const table = useTable({ columns, manualSorting: requestConfig.pagination?.mode === "server",...
fair-rose
fair-rose2/10/2025

Skip default request on EDIT page when I use useForm

How Skip default request on EDIT page when I use useForm
adverse-sapphire
adverse-sapphire2/9/2025

DevOps Dashboard

where is the DevOps Dashboard template is it available there is an example on the landing page of the docs but i cant find the template
extended-salmon
extended-salmon2/9/2025

Can I use useSubscription from liveProvider to receive event from server instead of client side?

Can I use useSubscription from liveProvider to receive event from server instead of client side?
unwilling-turquoise
unwilling-turquoise2/7/2025

Does refine provide a mock data endpoint?

Im using graphql and need mock data in order to develop my front export const API_BASE_URL = 'https://api.crm.refine.dev' export const API_URL = ${API_BASE_URL}/graphql export const WS_URL = 'wss://api.crm.refine.dev/graphql'...
optimistic-gold
optimistic-gold2/7/2025

Can I hava a refine app without an authprovider?

I want my refine app to have no auth
extended-salmon
extended-salmon2/7/2025

how to add custom headers by useCustom ?

how to add custom headers by useCustom ?
sharp-indigo
sharp-indigo2/7/2025

How do I useManyLists?

I call my list endpoint with 2 query params, let's call them refTable and refID. I need to call the /getObjects for each entry of the following array. const inputArray = [ { refTable: "Pokemone", refID: "id1" }, { refTable: "Animals", refID: "id2" },...
fascinating-indigo
fascinating-indigo2/7/2025

How to create move page Button?

When the button is clicked app/brands/products/[id] You need to go to the location. ``` ...
extended-salmon
extended-salmon2/6/2025

kubernets

Can anyone tell me where to find the k8s template ('DevOps Dashboard') from your home page?