Refine

R

Refine

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

Join

ask-any-question

discussions

plain-purple
plain-purple4/3/2024

Data Provider with empty resource

I have a useForm const { saveButtonProps, refineCore: { formLoading }, register,...
rival-black
rival-black4/3/2024

When I swizzle the authpage, it loses all the styling when using the swizzled version in antd

When I swizzle the authpage (so I can customize register) it just loses all the styling and shows a html form without any styling
rival-black
rival-black4/3/2024

Clickable Title

I am using antd design and I have a title column, I would like to make the title rendered value clickable (like wordpress) it should then show the post that belongs to the clicked title
helpful-purple
helpful-purple4/3/2024

using hooks in nextjs layout causesError: (0 , _refinedev_core__WEBPACK_IMPORTED_MODULE_8__.useMenu)

Hey. If i try to use the useMenu hook inside the nextjs app layout im getting the error Error: (0 , _refinedev_core__WEBPACK_IMPORTED_MODULE_8__.useMenu) is not a function an i dont understand why. im using the template provided by refine...
rising-crimson
rising-crimson4/2/2024

Edit not working if form is not touch

Having this code if the form is not touch, save button is not working. Only performs a GET instade of PUT
like-gold
like-gold4/2/2024

Failing to deploy: Cannot find module... or its corresponding type declarations.

Hi everyone, I'm trying to deploy my app and doing a local build works as expected. However, when deploying to Netlify, I'm running into an issue where certain component aren't being found. I've triple checked spelling but no luck. ``` src/App.tsx(7,24): error TS2307: Cannot find module './components/layout/Header' or its corresponding type declarations. src/App.tsx(8,23): error TS2307: Cannot find module './components/layout/Title' or its corresponding type declarations....
national-gold
national-gold4/2/2024

responseType: 'arraybuffer'

I want do a request with useCustom with the responseType: 'arraybuffer' for binary data. How could i do this?
wise-white
wise-white4/2/2024

HowToCustomize the default Login.tsx without altering authentication

Here below is the code after npx refine swizzle auth.
rival-black
rival-black4/1/2024

disable sider items

Seeing as my backend requires a user to make a team/tenant before allowing the user to continue, how can I disable routing and the sider so the user is forced to create a team before continuing?
rival-black
rival-black4/1/2024

Hide ListButton

How can I hide the list button on the show page
rival-black
rival-black4/1/2024

sub resource on show page

I have a resource called order, in the backend an order has a line item, however this is not a refine resource in the frontend. How can I show a list/table of line items (specified for that order) when looking at the show page of an order? So for example when I look at order 5, it shows a list/table with line items that part of order 5. the backend url (simple rest) is /orders/:orderId/items/
rival-black
rival-black4/1/2024

Show ant design table list on show page of parent

I have a resource called building, one building can have multiple offers (which is not part of the json, but is instead a call like /buildings/{buildingId}/offers. I would like to show the offers that belong to currently selected building in the show menu
conscious-sapphire
conscious-sapphire4/1/2024

remove layout styles on specific route

I am using antd themedlayoutv2. Can I not use the layout styles for a specific route in my app?
rare-sapphire
rare-sapphire4/1/2024

useForm

in useForm from "@refinedev/antd", how to refetch data when in "edit" and clone mode?
national-gold
national-gold4/1/2024

useCustom call function directly

I am wanting to call the function that useCustom would call to fetch reason being I have some components for filters that need to call this function async and i cant use the hook
correct-apricot
correct-apricot4/1/2024

map Columns

How to correct this code, i´m getting error in the dataIndex mapping columns: { title: "Currency", dataIndex: "currency_id", "id", flex: "auto", span: {...
metropolitan-bronze
metropolitan-bronze4/1/2024

filter on key inside nested JSON

[FEATURE] Deep Filtering on Nested JSON Fields in Supabase I'm currently working on a project using Refine with Supabase as the data provider. I have a use case where I need to filter data based on a nested JSON field. However, it seems that Refine does not support deep filtering on nested JSON fields out of the box. Here's a snippet of my current implementation:...
helpful-purple
helpful-purple3/31/2024

graphql codegen generate query

So im following the guide of refine and how to use graphql codegen but it states to write the queries (the gaphql-tagged version) yourself. What is the point of codegen when you still need to write the whole thing yourself? im specifically refering to Nest.js Query...
extended-salmon
extended-salmon3/31/2024

What is the best way to install the latest version from GitHub into my project?

I want to check if one of the latest commits that is on GitHub will fix an issue that I have. Is there any way to have the GitHub repo as a dependency for my project? I tried several things, including building and linking it locally, but the whole monorepo structure makes it not work somehow.
helpful-purple
helpful-purple3/31/2024

NextJS + NestJS Query Auth0 api/auth/callback/auth0 Not Found

When i have the given template above and try to login i am instantly getting ``` { "message": "Cannot GET /api/auth/callback/auth0?code=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&state=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",...