Refine

R

Refine

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

Join

ask-any-question

discussions

extended-salmon
extended-salmon3/11/2024

Refresh the page when closing the modal

``` export const PointsModal = ({ type, point_id, member_id }: PointsModalProps) => { const { register, setValue,...
conscious-sapphire
conscious-sapphire3/10/2024

Accessing data using useone

This is my .tsx file import { Typography, Spin, Alert } from "antd"; import { useOne } from "@refinedev/core"; import { getUser } from "../../utils/CommonFunctions"; import Profile from "../../components/profile/Profile";...
xenial-black
xenial-black3/10/2024

resolvers

is there a resolver sample for refine app crm?
ugly-tan
ugly-tan3/9/2024

Navegation

How to put the sider menu on the top navegation using ant design
xenial-black
xenial-black3/9/2024

grapql refine crm app

do i still need to create typedefs and resolvers on my backend?
xenial-black
xenial-black3/9/2024

Refine app crm

Is there any database schema for the refine app crm? for the typeDefs and resolvers?
national-gold
national-gold3/9/2024

useExport not downloading, no error

This is my current code When i press the export button the query sent to the graphql and receive a valid response, but the download do not start and no error in console...
afraid-scarlet
afraid-scarlet3/9/2024

Supabase Authentication Trigger & Refine App Integration Question

Hi everyone, I hope you're all doing well. I am encountering a challenge with Supabase Authentication in my Refine apps and would appreciate your guidance. Problem:...
ugly-tan
ugly-tan3/8/2024

Reset number on every new year

How to reset a number every new year?
ugly-tan
ugly-tan3/8/2024

pageSize

How to disable pageSize
national-gold
national-gold3/8/2024

How do I pass variable in useTable

const { tableProps } = useTable({ resource: "sensorData", meta: { gqlQuery: GET_SENSOR_DATA_QUERY, gqlvariables: { topic_id: id }, // <- Something like this...
deep-jade
deep-jade3/7/2024

Does anyone know how to disable the devtools or to change the server port ?

We are creating a microfront-end structure with multiple refine projects, but when we run host and microfrontend with yarn dev we face the problem: refine devtools failed to start. Port 5002 is already in use, please make sure no other devtools server is running. I've tried to remove the devtool provider from the app and remove dependecies from one app but it still give the same error.
xenial-black
xenial-black3/7/2024

is there a way to detect when the user is about to navigate away?

Is there a way to detect when the user is about to navigate to a different page? I am making a custom unsaved changes notifier
wise-white
wise-white3/7/2024

Hide items in sidebar

Hello. I wonder how to hide specific items in sidebar that in resources?
unwilling-turquoise
unwilling-turquoise3/7/2024

Remix SPA mode issues when importing Refine

Hello guys! Im trying to use Refine on a project where the base framework is Remix on SPA mode. For some reason, vite is yelling at me because it thinks im wrongly importing Refine and to me it all looks OK like im following the getting started guide. Heres the relevant code snippets ``` // root.tsx import {...
No description
fair-rose
fair-rose3/7/2024

Inferencer fail to detect relations

i am making two pages that will have relations between them but antd inferencer fail to detect relations. how to give the right data so realtions can be detected?
foreign-sapphire
foreign-sapphire3/6/2024

Modifying data on an edit page before updating

I have a field where the user enters a phone number that's formatted into an object using "antd-phone-input" as a dep. Registering a user and entering the phone number works no problem, but how can I update the phone number on the edit page? ``` import PhoneInput from 'antd-phone-input'; import { formatPhoneNumber } from '../../utility/formatPhone';...
correct-apricot
correct-apricot3/6/2024

How do I sent REST request with useForm from refinedev/antd

In meta property there is only attribute for gqlMutation and gqlQuery
correct-apricot
correct-apricot3/6/2024

Wrong datetime format for AntD DatePicker

I'm using AntD DatePicker component and when I'm on my edit page and want to fill the form with initial values, the app crashes because my ISO date time format can't be loaded into DatePicker element. How do I fix this? I can't edit the value inside formProps
other-emerald
other-emerald3/6/2024

useshow

hi how I can refetch the data or to have real time update, it means I want when I do changes on the data I want to see it live or to reload the same page to see the new data ```js const { queryResult } = useShow(); const { data, isLoading, isError } = queryResult;...