Refine

R

Refine

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

Join

ask-any-question

general

hey guys, i need a help for creating

hey guys, i need a help for creating dockerfile with nginx configuration for refinedev nestjs. is anyone did this before? im struck in nginx conf when i use normal dockerfile with yarn start it works fine

are we supposed to have the database

are we supposed to have the database structure already made with our relations and tables? or how does this integrate with a backend or data provider such as supabase or pocketbase? how does refine know where to create the table, how to create relations. etc..

I just have a question why the vite

I just have a question why the vite template doesn't include i18n when using the CLI?

Hello. My name is Mateo. Handle is

Hello. My name is Mateo. Handle is Flutterbots. I was introduced to Refine.dev and cannot believe it. Nice work! We're currently using Angular but I'm a React developer. I'm a technical lead at my company and I am working on a POC to see if Refine will work as the architecture for our product. I'm following the example on the website for the authentication piece but I'm getting this error: "Warning: validateDOMNesting(...): <form> cannot appear as a descendant of <form>." Looking for help to ge...

Hi, I'm stuck while trying to re create

Hi, I'm stuck while trying to re create the backend for the CRM example (really don't understand wjhy the team is reluctant to make it public). Could someone help me out with it, please?

hi guys, any official Example repos

hi guys, any official Example repos involving the following stack with refine? Ant Design + Supabase + Next.js?

Another question - one that seems like

Another question - one that seems like it should be way simpler. I'm trying to create a component that will send a custom query up to my backend server every time the user performs a search on an ant design <Search> field. But I'm running into an error currently of "Invalid hook call. Hooks can only be called inside the body of a function". Code is below: ```import { useCustom, useOne } from "@refinedev/core" import { Col, Input, Row } from "antd" import { API_BASE_URL } from "../../providers";...

Hello, I originally asked this question

Hello, I originally asked this question to kapa, which suggested I reach out to the wider community: I want to create a dynamic list of resources available to the user at login time by fetching a list of their permissions from a backend server. Is there a way to add resources to the IResourceItem list provided to the <Refine> tag after its instantiation? Or to not provide a resources property to <Refine> initially and then set it later? The goal is to dynamically construct the menu options for a <ThemedLayoutV2> component as well as setup the associated routes based on user permissions with a call to my data provider....

Hi! Can somebody help with one thing

Hi! Can somebody help with one thing that I couldn't resolve with kapa? In my app I have an accessControlProvider, and it works fine with all the resources and actions. The problem is with the routes that are not asociated with a resource or with an action that is not in the default list, for example I have created a custom route, that has nothing to do with any resource, and when I access to this route, my can function is executed with undefined resource and empty action. How can I to avoid to run the can function in this case? or how can I receive the correct action or resource? right now I edited my can function to return {can: true} if the action is not in ["list", "create", "edit", "show", "delete"] but I think that is not the best behavior. Thanks!...

Hey, how do you run cypress tests in

Hey, how do you run cypress tests in refine/examples? When I try to run cypress in any example, I get same error as in issue https://github.com/cypress-io/cypress/issues/8599. I managed to solve it by: 1. exporting refine/cypress/support/e2e.ts 2. creating fixCypress.ts in refine/examples/specific-example and importing mentioned export...

Hello! I'm trying to be a good Refine

Hello! I'm trying to be a good Refine citizen and go through the proper channels. I had a refine-specific question and asked in the ask-any-question channel, but the bot was unable to resolve my issue. Is there a respectable way to try and escalate a question to a real person? I see the questions channel was archived.

Button click not working

Hello All, I have a form that suddenly doesn' t work I have been upgrading the project to 4 and am pretty sure it was working after a upgrade for a while. Clicking the button doesn't do anything at all.
```jsx return (...

Hey, Im new to web development, im

Hey, Im new to web development, im trying to connect refine app crm with mongo db? Is it possible?

Hi all, I’m hoping someone can help me

Hi all, I’m hoping someone can help me wrap my head around issues with API keys and environment variables in refine. Is it possible to avoid using environment variables that aren’t exposed to the browser (I.e., NEXTPUBLIC). Sorry I looked all around but couldn’t find an answer on how to secure my Airtable provider keys in refine😓

I am able to do this with **useEffect

I am able to do this with useEffect, but every hot reload breaks the state. Not sure why. A solution is to abuse the successNotification callback and call setData there. Am I overlooking a simpler and better way to do this?...

With **useList**, why was **onSuccess**

With useList, why was onSuccess deprecated?

Hey, general questions about the dev

Hey, general questions about the dev tools. Why does it require a github or google login. I am using refine in an enterprise setting and wondering is any active data from the app sent anywhere externally when running the dev tools?...

Hi, I need guidance for making dashboard

Hi, I need guidance for making dashboard in next js I want to use custom auth(REST), headlesss ui to style as per design requirement I know refine using react query which is great - I find refine AuthPage component has many built in component like LoginPage, ForgetPasswordPge, RegisterPage etc...

It's not validation I need - it's a data

It's not validation I need - it's a data condition. Basically, before submitting I need the logic to go grab a value from a different data source (or create it if it doesn't exist there) and then append it onto the form data. At this point I'm deep into a custom method but would still be interested in a solution if someone has one for future reference...

I am on a project with refine core 4.5.8

I am on a project with refine core 4.5.8, can I safely update to the recent version? Can't find a changelog either. Are there breaking changes?