Refine

R

Refine

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

Join

ask-any-question

discussions

sunny-green
sunny-green8/24/2024

Infinite websocket call on custom liveProvider implementation with socket.io

```ts import { LiveProvider } from "@refinedev/core"; import { Socket } from "socket.io-client"; type ListenerType = {...
sunny-green
sunny-green8/24/2024

Create or Edit components passes empty object {} for relations if their value is not provided

```ts <Form.Item label={"Category"} name={["category", "id"]} initialValue={formProps.initialValues?.category?.id}...
continuing-cyan
continuing-cyan8/23/2024

Data not filtering by characters

export const CustomerList = () => { const { tableProps, filters } = useTable<ICustomers>({ resource: "customers", onSearch: (values: any) => { return [...
xenial-black
xenial-black8/23/2024

rest data provider or filters

rest data provider or filters
rare-sapphire
rare-sapphire8/23/2024

list table ellipsis

I have a table on ant design with this code ``` <List> <Table {...tableProps} rowKey="id"> <Table.Column dataIndex="name" title="Nom" />...
ambitious-aqua
ambitious-aqua8/23/2024

Show retrieves only ID

``` export const ShowBusiness = () => { const { queryResult } = useShow({ resource: 'businesses', });...
sunny-green
sunny-green8/23/2024

Single join does not work with nestjsx/crud

Hello, Nestjsx crud request builder generates join query like "join[0]" or "join[1]" for multiple joins, but nextjsx-crud is not able to process that. It's only able to process "join" only. and it can accept multiple joins. Did anyone bumbed into this?...
ambitious-aqua
ambitious-aqua8/23/2024

Clone record using useCreate hook

How can I clone a record when I have its id and want to clone it with different date field? I want to use useCreate hook
sunny-green
sunny-green8/22/2024

Can't redirect to login in authProvider because of async/await

If you use async/await in authProvider methods, it doesn't take redirectTo into account. is there any solve?
wise-white
wise-white8/22/2024

is there any reason for refine not to work offline?

I was just flying and noticed two things: 1) refine.dev does telemetry by default 2) none of my providers where being called Is there a reason for refine not to work offline? Could it be a react-query configuration (i know theres a mode that when offline does not do calls)...
ambitious-aqua
ambitious-aqua8/22/2024

In useCustom, useList and useSelect hooks (antd), how can I check if request was succesful?

In useCustom, useList and useSelect hooks, how can I check if request was succesful?
absent-sapphire
absent-sapphire8/22/2024

refetch provided by tableQuery / tableQueryResult never runs

refetch provided by tableQuery / tableQueryResult never runs. How can I make it run?
absent-sapphire
absent-sapphire8/22/2024

antd useModalForm doesn't refetch after successful form submission.

antd useModalForm doesn't refetch after successful form submission. How can I make sure a refetch occurs after success?
sunny-green
sunny-green8/21/2024

A Package or implementation example for NestJS

Hello, I want to adopt the simple rest and I want to modify my API to comply with the simple-rest data provider. Do you know any package in JavaScript that implements json-server querying standards to TypeORM
xenial-black
xenial-black8/21/2024

different resource structure depending on admin user

different resource structure depending on admin user
xenial-black
xenial-black8/21/2024

data grid client filters not updating pagination

data grid client filters not updating pagination count
absent-sapphire
absent-sapphire8/21/2024

form values revert to old values just after submit is pressed

@kapa.ai using antd editDrawerForm, the new values get passed to the mutation and everything works, but just after submitting the form input values revert to their original values. How can I keep this from happening?
generous-apricot
generous-apricot8/20/2024

How to render sider items at once instead of one by one under access control?

I am using Next.js with mui and enabling access control in my project. The sider items will not render one by one if there is no access control provider available. So I think the default <CanAccess> wrapper in the sider.tsx cause this behaviour. ...
No description
xenial-black
xenial-black8/20/2024

login route is checking for authenticated

I am using <Authenticated key="authenticated-routes" fallback={<CatchAllNavigate to="/login" />}> But i dont wan this to happen on the login page iteself as if throws error with the access control check...