Refine

R

Refine

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

Join

ask-any-question

discussions

harsh-harlequin
harsh-harlequin3/3/2024

Running app locally fails. Next.js, Google Auth

When I run this locally I recieve a 404 on the following URL - http://localhost:3000/api/auth/callback/google Not sure if there is a .env value I need to set or anything?...
wise-white
wise-white3/3/2024

app-crm implementation

Hello, I would like to know if there is a way to see an example of the app-crm backend implementation for learning purposes....
foreign-sapphire
foreign-sapphire3/3/2024

useSelect seems to ignore cached values.

I have quite simple useSelect, which fetches tenants. I use global config reactQuery: { clientConfig: { defaultOptions: {...
optimistic-gold
optimistic-gold3/3/2024

I want to query more than one resource for Select using useSelect

I want to query more than one resource for Select using useSelect, how do I do that?
plain-purple
plain-purple3/3/2024

Put intial values:

I want to enter the data from the datbase | import React from 'react'; import { IResourceComponentsProps } from '@refinedev/core'; import { Edit, useForm, useSelect } from '@refinedev/antd';...
optimistic-gold
optimistic-gold3/3/2024

How do I add errorNotification to delete button

Show me how to add errorNotification to DeleteButton
passive-yellow
passive-yellow3/3/2024

Resources on navbar not showing after login

After logging in, resources on navbar are not shown until I refresh page. I can't figure it out as nothing is showing in console and everything is as usual in network tab.
passive-yellow
passive-yellow3/2/2024

Change page title in browser

How to change page title (next to favicon)?
ratty-blush
ratty-blush3/2/2024

nextjs antd image upload

is there an example of an image upload for nextjs antd image upload
ratty-blush
ratty-blush3/2/2024

next-cloudinary

I would like to use the next-cloudinary library to handle uploading images on create / edit forms
national-gold
national-gold3/2/2024

how to setup with createBrowserRouter react-router-dom v6

how to setup with createBrowserRouter react-router-dom v6
optimistic-gold
optimistic-gold3/2/2024

When on create or edit page goBack button doesn't redirect back to the list of the resource

When I am on create or edit page of resource, the goBack button doesn't redirect me to the list of the resource but rather to place I was before navigating to resource list page
other-emerald
other-emerald3/2/2024

infinite scroll for large data

hi how I can handle larg data with infinite scrolling without lagging ?...
evident-indigo
evident-indigo3/2/2024

`FilterDropdown` + custom filter on Ant Design table

I was going to create a GitHub issue about this but I can't decide what the intended behavior should be. I have an Ant Design table with a <FilterDropdown> on one of the columns. Outside of the table, I have a filter that acts on the same field that I have a FilterDropdown for. CodeSandbox reproduction: https://codesandbox.io/p/devbox/strange-platform-5gvjz9...
conscious-sapphire
conscious-sapphire3/2/2024

Can the backend code & the DB structure for the CRM template available be made available too?

I need to modify the CRM template, would be great if the backend code was made accessible too!
quickest-silver
quickest-silver3/1/2024

Example of register with Supabase and Ant Design's form component?

I need an example of how I could register users where they're able to add extra information that would be added to Supabases' metadata such as name, phone number, etc. In my authProvider.ts file, I have the following action: ``` register: async ({ email, password, phone, name }) => {...
compatible-crimson
compatible-crimson3/1/2024

useModalForm appends [object Object] onto my endpoint

So I'm trying to pop up an "Edit User" modal on my web app when the user clicks on their avatar in the top right. The only issue is that I'm relying on useModalForm() to make an API call, but it is continuously appending [object Object] to my endpoint. So here's the call from the useModalForm(): ```ts console.log(userId, userId?.data, userId?.data.id, isError, isLoading, typeof(userId?.data.id));...
national-gold
national-gold3/1/2024

how to scroll top when you navigate another page?

how to scroll top when you navigate another page?
optimistic-gold
optimistic-gold3/1/2024

Editing functions in graphqlDataProvider

When I edit the custom function in my graphqlDataProvider, the changes doesn't show, it still functions like before, why is that? I restarted the app several times and nothing changes
genetic-orange
genetic-orange3/1/2024

Create a custom hook like useMany or useOne without sending ids

I have this ``` const { data } = useMany<any, HttpError>({ ids: [], resource: RESOURCES.WEB_FORM_LOCATIONS,...