Refine

R

Refine

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

Join

ask-any-question

discussions

quickest-silver
quickest-silver9/9/2024

how to disable query at pageload resource

how to disable query for a page
absent-sapphire
absent-sapphire9/9/2024

API

Do I have to write my own API to manage my own data internally?
xenial-black
xenial-black9/9/2024

customize warn on unsaved changes message

@kapa.ai How can I customize the warn on unsaved changes message text that appears when using useDrawerForm?
rival-black
rival-black9/9/2024

Add refresh button to a list using mantine

I've added RefreshButton using headerButtons property of List component. It renders fine, but tapping on it does nothing. How can I make RefreshButton invalidate the list part of current resource?
fascinating-indigo
fascinating-indigo9/9/2024

nextjs

Hello When working with nextjs which is the best option to use for redirecting : refine's useGo() or nextjs's useRouter?...
environmental-rose
environmental-rose9/8/2024

disable invalidation and mutate

const { mutate } = useUpdate(); mutate({ invalidates: ["list", "many", "detail"], });...
metropolitan-bronze
metropolitan-bronze9/8/2024

useOne doesn't return expected value

I have this: interface IProduct { id: number; name: string;...
metropolitan-bronze
metropolitan-bronze9/8/2024

Combine link with refine

Is it possible to use something similar <div className="page-container"> <Breadcrumb items={[ {...
metropolitan-bronze
metropolitan-bronze9/8/2024

useCustom with graphQL

Is it possible to use the useCustom with this? const { data: responseData, isLoading: locationLoading, failureReason: failureReason } = useList<GetFieldsFromList<ObdHistoryQuery>>({ resource: "obd_data", filters: [...
metropolitan-bronze
metropolitan-bronze9/8/2024

Nodes is not working

@kapa.ai Ok why am I getting this error: TypeError: Cannot read properties of undefined (reading 'nodes') at getList If this is the query: ...
metropolitan-bronze
metropolitan-bronze9/7/2024

Adding variables to query

Wanted to know if it is possible to add variables to such a query: const { data: responseData, isLoading: locationLoading } = useList<ObdHistoryQuery>({ resource: "obd_datas", meta: {...
environmental-rose
environmental-rose9/7/2024

how do i send a fire and forget mutation

how do i send a fire and forget mutation simple rest api axios
other-emerald
other-emerald9/6/2024

useStepForm: display custom field error based on form submit to previous step

When we hit form submit, we get the list of field errors, we need to put the errors to previous step and go to step, that have the issue
other-emerald
other-emerald9/6/2024

useStepForm

if form submit has backend field errors, it is showing for current step but if back to previous step, error vanished
rival-black
rival-black9/4/2024

AuditLogProvider not being triggered?

Hi everyone, I'm trying to automate logging of user activity to mixpanel and stumbled upon AuditLogProvider. Let me know if there's a better solution for this use case by any chance. Anyway, I've tried to create an instance that simply logs to a console and assign it to Refine. It does not seem to be used at all for some reason, even though I don't see tutorials/examples using any extra code. Anyone seems anything wrong with this?...
correct-apricot
correct-apricot9/4/2024

filterDropdown change filter operator from eq to startswith or contains

By default applying the following filter for a table column in antd adding eq filter, id love to use other filter operator ```filterDropdown={(props) => ( <FilterDropdown {...props}> <Input {...props} placeholder="Search Question" />...
xenial-black
xenial-black9/4/2024

Cache busting list data on successful create or edit

@kapa.ai How can I implement cache busting list data on successful create or edit while using antd useTable and useDrawerForm?
deep-jade
deep-jade9/4/2024

Closing modal after save, gives warning that you are leaving the page.

I have a modal like this: ```js import { Form, Input, Modal } from "antd"; import { useModalForm } from "@refinedev/antd";...
foreign-sapphire
foreign-sapphire9/3/2024

Hi, I'm using useList in a page, how can force it to reload it ?

e.g. I'm using a put command to update some values in the backend and I want to refresh the page with updated data (that is not returned by the api call)
xenial-black
xenial-black9/3/2024

Environment setup and how to deploy

Hello, kindly help me understand if there is a specific IDE for Refine that I can use for development, collaboration and deployment or I should just use Vs code