Refine

R

Refine

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

Join

ask-any-question

discussions

xenial-black
xenial-black3/6/2024

Icon props

@kapa.ai Hi there am using my own svgs in my side bar and I want to change there color on click ... is there a way to do that?...
yappiest-sapphire
yappiest-sapphire3/6/2024

NextJS persistency TanStack + Mantine Table sorting

Hey, I have made a Table with TanStack + Mantine Table and now i want to implement sorting functionality but I am stuck on something; First of all persistency; whenever I enable a sort the page get reloaded. This is something I dont want. ...
quickest-silver
quickest-silver3/6/2024

keyboard shortcuts

i went thru the docs but i couldnt find anything regarding keyboard shortcuts. how can i implement them?
rival-black
rival-black3/6/2024

useList or operator is not working

I have this query for global search but the or operator is returning nothing. I'm using supabase as dataProvider const { refetch: refetchOrders } = useList<any>({ resource: "contacts", filters: [...
wise-white
wise-white3/6/2024

useForm get the property data

hi in Edit page I want to get the property data, in the code I provide, I get all the properties in same schema not the one I want how I can get the one that I want to edit on ? is there a way that useForm hook know automatically by current URL ? ```js const {...
wise-white
wise-white3/5/2024

How the subscription works when enabling Live provider for graphql?

Hi all, I would like to understand how Refine triggers subscriptions for instance in the CRM example. Below are my concerns: 1. I don't see how, based on API schemas, Refine prepare and run subscriptions for the different events....
quickest-silver
quickest-silver3/5/2024

how to hide some fields depending on one other?

in the edit field i can hide the field using watch exported from useForm but i also need to hide the field in the show field. im not using useForm in the show field. im using useShow const {queryResult: {data, isLoading, isError, error, failureReason}} = useShow(); ...
xenial-black
xenial-black3/5/2024

stop getOne api call on edit page

stop getOne api call on edit page antd
stormy-gold
stormy-gold3/5/2024

Nesting routes

How can I nest routes on Navbar? Let's say I have: InventoryProducts and InventoryMaterials resources. On navbar I want to have Inventory which itself won't be a resource but will rather show dropdown so user can click on Products or Materials under Inventory.
adverse-sapphire
adverse-sapphire3/5/2024

Ant Design useTable problem

Hello, here is my code ``` import { List, useTable } from '@refinedev/antd'; import { Table } from 'antd';...
fascinating-indigo
fascinating-indigo3/5/2024

How Can I change the date format?

``` <LocalizationProvider dateAdapter={AdapterDayjs}> <Grid container spacing={2}> <Grid item xs={2} sm={2}> <DatePicker...
optimistic-gold
optimistic-gold3/4/2024

Save button click but no trigger action

I have this part of component ```import React, { useCallback } from "react"; import { useTranslate, useShow, IResourceComponentsProps } from "@refinedev/core"; import { useForm } from "@refinedev/antd"; import { Form, Input, notification } from "antd";...
national-gold
national-gold3/4/2024

Where is the mantine option when using the CLI or refine.new?

When trying to create a new NextJS Project either with the CLI or the website, mantine is not provided as an option. Why & How can I use it anyways?...
harsh-harlequin
harsh-harlequin3/4/2024

Supabase functions

I need to use a supabase function to fetch a result of location decoding from long encoded postgis location string string to x and y values and distance calculation, i've implemented the function fetch_parking_spaces_by_distance(lat float, long float) that returns my desired table. I don't know how to implement it to display it in a list. Is there a way to override the schema and datasource for a supabase.rpc()?
vicious-gold
vicious-gold3/4/2024

Refine and metronic

Is it possible to use the metronic theme with refine components?
national-gold
national-gold3/4/2024

HandleSave mutate useUpdate & useOne

I want to update and use useOne in the same handleSave code. When I put useOne inside the handleSave it dont work. The code is:
...
xenial-black
xenial-black3/4/2024

not making api call for edit basic view antd d

<Edit title={title} dataProviderName='unifiedDataProvider' resource='post' recordItemId='1'...
fascinating-indigo
fascinating-indigo3/4/2024

Why input request type string?

``` export const PointsModal = ({ type, point_id, member_id }: PointsModalProps) => { const { register, setValue,...
flat-fuchsia
flat-fuchsia3/3/2024

Running app locally fails. Next.js, Google Auth

When I run this locally I recieve a 404 on the following URL - http://localhost:3000/api/auth/callback/google Not sure if there is a .env value I need to set or anything?...
metropolitan-bronze
metropolitan-bronze3/3/2024

app-crm implementation

Hello, I would like to know if there is a way to see an example of the app-crm backend implementation for learning purposes....