Refine

R

Refine

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

Join

ask-any-question

discussions

conscious-sapphire
conscious-sapphire4/17/2024

<Authenticated /> Best Practice

I am relatively new to Next and am working on setting up a project using Cognito/Amplfy v5. I have my auth provider set up and am wrapping my protected routes in <Authenticated />. I want to have every route except from /login, /reset-password, etc configured to be behind <Authenticated /> by default, such that I don't need to define it in the layout file for every page and any route not aforementioned will redirect to /login . Is there a way to do this that would follow internal best practices?...
absent-sapphire
absent-sapphire4/17/2024

Table Style

I have implemented the advanced Chackra UI table. Im styling the detailed view of a record, i want to add another TextArea under the pre-inserted one, they get divided by a line is there any type of command that i can use to remove that line?...
flat-fuchsia
flat-fuchsia4/17/2024

setFilters not updating useDataGrid props

setFilters not updating useDataGrid props filter values rename the same if using client side filtering
fair-rose
fair-rose4/17/2024

Bug or misconfiguration on authProvider or <Route>?

AuthBindings = { login: ..some...code... return { success: true, redirectTo: "/WelcomePage",...
fair-rose
fair-rose4/17/2024

how to share selected value globally throughout the app?

import { useSelect, type RefineThemedLayoutV2HeaderProps, } from "@refinedev/antd"; import { useGetIdentity } from "@refinedev/core";...
sensitive-blue
sensitive-blue4/16/2024

form with child object

Do you have any examples of using a form where one of the fields is populated from anther resource / model
like-gold
like-gold4/16/2024

setFilters fetch twice

When I use setFilters without syncWithLocation, why useTable the first fetch previous data and second fetch current data in useEffect?
extended-salmon
extended-salmon4/16/2024

Refine useApply hook function

There are REST Apis which are not CRUD but just ARD which is apply read delete, basically apply instead of create and edit. Mostly kubernetes uses it I want a custom hooks in the data provider for it too. ...
like-gold
like-gold4/16/2024

Custom search params

Hello, how I can use useSearchParams, with useTable for sync query, because I need to navigate for new page when I used new filters sorters and pagination , not updating current path?
extended-salmon
extended-salmon4/16/2024

Refine for production

It says refine is for internal tools. I want to use refine as a react provider for a production app, it seems very nice. The app is not an internal tool but a simple SaaS...
rare-sapphire
rare-sapphire4/16/2024

caching

how to cache the data from a table from a getList?
robust-apricot
robust-apricot4/16/2024

Is it possible to resize column

Is there any way to resize the column of a table ? With any kind of UI? Mantine, Material, Chakra, Ant...
flat-fuchsia
flat-fuchsia4/16/2024

refine dev server suddenly stops listening

A few days ago I followed the tutorial by running "npm create refine-app@latest", with Nextjs and Antd. When running "npm run dev" and accessing some pages the dev server suddenly stops (dies) listening http request and I can see no error anywhere... What could cause this?
rare-sapphire
rare-sapphire4/16/2024

i have this error

useLocation() may be used only in the context of a <Router> component.
absent-sapphire
absent-sapphire4/16/2024

Refine Table

i have a table, i need to resize the width of each colum
automatic-azure
automatic-azure4/16/2024

help?

How do i download the primsa file for the Crm dashboard so i can have my own database locally?
rare-sapphire
rare-sapphire4/16/2024

inferencer

@refinedev_inferencer_mui.js?v=9f586f24:40030 Uncaught Error: Could not resolve "@refinedev/mui" imported by "@refinedev/inferencer". Is it installed?
harsh-harlequin
harsh-harlequin4/16/2024

How to make a table with custom json source?

I have following json scheme ``` { "count": 50, "items": [...
optimistic-gold
optimistic-gold4/16/2024

How should I write a select statement with optional filter parameter that may reference other table

How should I write a select statement with optional filter parameter that may reference other table
fair-rose
fair-rose4/16/2024

How to upload images using antd and supabase?

How to multipart upload images using antd and supabase?