Refine

R

Refine

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

Join

ask-any-question

discussions

implicit-lime
implicit-lime9/23/2024

What type safety can be achieved with Refine vs what can't?

New to refine, a couple of years of experience with typescript and react, many years using other type systems. Working through some simpe examples, I am running into many runtime errors that are not preceded by type errors or similar. E.g. I have a useForm that isn't passing all of the required fields for an update. It seems most of the documentation I've found seems to elide types. Is there any documentation about the extent to which types can be leveraged?...
provincial-silver
provincial-silver9/23/2024

3 high severity vulnerabilities

I tried to implement the Refine todolist project from https://github.com/TheEmi/TodoRefine. First to install nodemodules, i used command :"npm install", To address issues that do not require attention, run: npm audit fix but there are still 3 3 high severity vulnerabilities. under this situation, I implemented the project and i can see the note in CLI "Refine Devtools is running at port 5001...
inc-lavender
inc-lavender9/22/2024

headStyle is deprecated

Hey, Recently I'm trying to programm in Refine. But I have this Error and don't know how to fix it. Does anyone can help? This is the Code Snippet upcoming-events.tsx from the Refine-Project: crm-app-minimal....
No description
inc-lavender
inc-lavender9/21/2024

AuthBindings is deprecated

Hey, Recently I'm trying to programm in Refine. But I have this Error and don't know how to fix it. Does anyone can help? This is the Code Snippet auth.ts from the Refine-Project: crm-app-minimal....
No description
metropolitan-bronze
metropolitan-bronze9/21/2024

buttons

where profiles and refresh buttons created in blog post create and edit pages
No description
metropolitan-bronze
metropolitan-bronze9/21/2024

useCustom invalidated by useCreate

Is is possibly to get useCustom to be automatically invalidted be a useCreate mutation
metropolitan-bronze
metropolitan-bronze9/21/2024

useList stale data

Im using useList passing a query and sorting and am notiing the that i will still get the previous data if the length has not changed
harsh-harlequin
harsh-harlequin9/20/2024

Custom page

How can I create a custom page that's not a CRUD? e.g: a settings page i'm using refine v4 with react router v6
adverse-sapphire
adverse-sapphire9/20/2024

How do Sidebar items by capital chars? I need to have ABC Ratings =>Small Yellow Item

but now I have Abc ratings = >Small Yellow Item function urls(name: string, parent?: string, label?: string) { return { name: name,...
realistic-cyan
realistic-cyan9/19/2024

useExport with download: false

When using useExport with option download: false, how do I get the CSV data?
like-gold
like-gold9/19/2024

defaultValueQueryOptions usage example

Show me example of defaultValueQueryOptions with useSelect hook
like-gold
like-gold9/19/2024

useModalForm change title

how can i change modal title using useModalForm from antd?
like-gold
like-gold9/19/2024

Antd table show total row count

how can i show total row count in antd table?
adverse-sapphire
adverse-sapphire9/19/2024

using refetch with filters

@kapa.ai How can I pass filters to a refetch query from queryResult?
stormy-gold
stormy-gold9/19/2024

useDataGrid MUI Pagination - pageSize not working in a MUI Dialog

I have a parent component which uses useDataGrid and the pagination is like this: { current: 1, pageSize: 10 } ...
realistic-cyan
realistic-cyan9/18/2024

useExport XLS instead of CSV

Can you give me an example of adapting the useExport hook to export an Excel (XLS) file instead of CSV?
like-gold
like-gold9/18/2024

How can I trigger a data refresh after a form is updated?

When using antd form to update data, how can I ensure the data is refreshed on other places that are using it. For example if a user edits their name it should trigger their name in the header to be reloaded and reset....
adverse-sapphire
adverse-sapphire9/18/2024

How to include endDate in filter

@kapa.ai How can I include results that fall on the end date when filtering between two dates?
equal-aqua
equal-aqua9/18/2024

Tracking down events at every stage and persisting it.

Hello, I building a Leads management system and need to track down all the events at all stages and have the events persisted the backend is ready and was wondering how I can implement this.
equal-aqua
equal-aqua9/17/2024

Custom dataProvider create and update errors

Hi, I am getting this error in my customDataProvider, How can I solve it Type '<TData extends BaseRecord = BaseRecord, TVariables extends ILead = ILead>({ variables }: CreateParams<TVariables>) => Promise<CreateResponse<TData>>' is not assignable to type '<TData extends BaseRecord = BaseRecord, TVariables = {}>(params: CreateParams<TVariables>) => Promise<CreateResponse<TData>>'. Types of parameters '__0' and 'params' are incompatible. Type 'CreateParams<TVariables>' is not assignable to type 'CreateParams<ILead>'....