Refine

R

Refine

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

Join

ask-any-question

discussions

rare-sapphire
rare-sapphire2/17/2024

Supabase authentication with refinenative

Hi, I am trying to build a mobile application with react native using the community package https://dev.to/abdellah711/refine-native-2p1d and I'm having trouble implementing supabase login page correctly. This is my authProvider.ts and the login function works but I have to submit the form twice. Each time when I log in the first time I'm redirected to the login page again and I'm only getting logged in when I submit the form for the second time....
harsh-harlequin
harsh-harlequin2/17/2024

Hiding a button in the List (MUI)

What is the cleanest way to hide (not disable) create button on <List> if user is not authorized? I am using roles and if user is not authorized, button is disabled. I don't want it disabled, I want it hidden.
foreign-sapphire
foreign-sapphire2/16/2024

error when i use refine with nextjs #nextjs #cli

hello ,when i generate a new refine project using nextjs i got an error at the build and run …nextjs #nextjs #cli
broad-brown
broad-brown2/16/2024

with useDataGrid how to omit query args

how to not add ?& to /resource?& when using useDataGrid
reduced-jade
reduced-jade2/16/2024

filter

how to filter data without using a table.
optimistic-gold
optimistic-gold2/16/2024

Pagination with @refinedev/graphql provider

Hi Everyone. I am building some CRUD pages in our product and found Refine to be a great fit for our case. With that, I am having an issue - I am using @refinedev/graphql provider, and can't figure out how to make pagination work. My list query returns an array of entities, and I don't see a way to add count variable....
national-gold
national-gold2/15/2024

how to add a custom button in the Show header buttons along with the refresh button

I have a show view with its buttons for delete, go back and refresh. I want to add a new one to open a modal. how can I add it without removing the other buttons?
like-gold
like-gold2/15/2024

Clear cache

how to clear cache ?
stormy-gold
stormy-gold2/15/2024

useStepsForm

Hi, how can I use useStepsForm, with custom input fields without register, if some of the data I need I get from useState?
xenial-black
xenial-black2/15/2024

Access control for create Button doesnot work

<CreateButton accessControl={{ enabled: false }} type="primary" ghost icon={<PlusOutlined />}> Add New Master Source </CreateButton> the enabled is not working , CreateButton is from refineantd...
xenial-black
xenial-black2/15/2024

how to translate the sider

// Package Imports import React from 'react'; import { ThemedSiderV2, type RefineThemedLayoutV2SiderProps,...
reduced-jade
reduced-jade2/15/2024

autocomplete hook

I am using mui and i want to send a request and get a new value when i change the value of auto complete. how can i do it?
extended-salmon
extended-salmon2/15/2024

how to re-style savebuttonprops?

how to re-style savebuttonprops?
hilarious-sapphire
hilarious-sapphire2/15/2024

Resource list response in JSEND Format

I have backend which do not return list as json array in the http response. The server send it in JSEND Format. How to parse resource list from JSEND format into table?...
continuing-cyan
continuing-cyan2/14/2024

Creating a project with example pages doesn't work

Hello, I have tried to create a project using pnpm. I selected REST API, and installed packages with pnpm. It is not loading and showing me this error. When I deleted node_modules folder, and reinstalled with npm, everything is working as expected. Is this a bug or pnpm problem?
No description
mute-gold
mute-gold2/14/2024

Check gets called after redirectTo /login

When I call my logout function and redirect user to /login, check() from authProvider gets called even though it should not because /login route does not have element <Authenticated /> ``` <Routes> <Route path="/register" element={<RegisterPage />} /> <Route path="/login" element={<LoginPage />} />...
like-gold
like-gold2/14/2024

Expose local IP

How to expose IP
foreign-sapphire
foreign-sapphire2/14/2024

How can I pass the changed values in child props to the parent state?

children props ``` export const EditFirstEventProps = ({ items, id }: IEditFirstEventProps) => { const [itemsState, setItemsState] = useState<FirstEventValues>(items) ...
stormy-gold
stormy-gold2/14/2024

Customizable list

Hi, How can i hide/unhide columns in list, and also enable/disable columns in list (refine with vite -antd )...
stormy-gold
stormy-gold2/13/2024

Filters error

Hi, how can I use filters from useTable together with special characters (like # for example). When I do not reload the page all queries with this character go correctly, but after reloading I either get a blank field or get 2 filters with the same field
No description