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-sapphire9/27/2024

const stringWidth = require('string-width');

CLI refine not working with this error
const stringWidth = require('string-width');
const stringWidth = require('string-width');
conscious-sapphire
conscious-sapphire9/27/2024

How to reuse form instance from useForm without pass to children component props?

How to reuse form instance from useForm without pass to children component props?
apparent-cyan
apparent-cyan9/26/2024

Translate Button

I want the Create button to be in German. How I can acccomplish this?
No description
quickest-silver
quickest-silver9/26/2024

listing-data tutorial version of node?

I am curious if it is a version problem. I am doing the listing-data tutorial and it uses URLSearchParams and its append method. It tries to add a number but append takes a string as far as I can tell? Might I have a node version problem. Running node: v20.11.1...
foreign-sapphire
foreign-sapphire9/26/2024

How can I have a form inside the table of a List in antd design

I want to have a table and for each row I would like to be able to have a cell that has a form input for a field called label, how can I do this in antd design?
continuing-cyan
continuing-cyan9/25/2024

AuthPage Login form validation

Hi how can i custom password form validation using AuthPage component ?
ambitious-aqua
ambitious-aqua9/25/2024

auth0-spa-js must run on a secure origin.

npm run build gets error :" auth0-spa-js must run on a secure origin. "
ambitious-aqua
ambitious-aqua9/25/2024

Unexpected token '?'

get this error when npm run build
foreign-sapphire
foreign-sapphire9/25/2024

redirect on delete

How can I make sure the show page redirects back to where it came from when the resource is deleted?
rival-black
rival-black9/24/2024

backend

I need to create an authentication system using Express, MongoDB, and JWT. Can I do this within the Refine project? When trying to start a server, I'm encountering many problems running Node, whether with ts-node or nodemon; it keeps presenting a series of issues with modules. Can someone help me resolve this?
typical-coral
typical-coral9/24/2024

Custom logout button

Is there a way to change the sider logout button text? I'm using themedSider, and wanted to customize the initial logout button passed on render to be labeled "Bye!" instead of "Logout". How would I do this?
inland-turquoise
inland-turquoise9/24/2024

How to implement InfiniteSelect correctly?

I am using the following code to generate and fill a Select in an Edit. ``` export const InfiniteSelect: React.FC<EndlessSelectProps> = ({ resource, optionLabel, optionValue, defaultValue }) => { const [page, setPage] = useState<number>(1); const [options, setOptions] = useState<SelectProps["options"]>([]);...
conscious-sapphire
conscious-sapphire9/24/2024

How to catch error from Form Antd ?

How to catch error from Form Antd ?
eastern-cyan
eastern-cyan9/24/2024

How to customize the sidebar?

Am using Vite and material Ui with refine. I was following Javascript mastery tutorial of building an app. I want to customize the sidebar. Tried to read the documentation but couldn't find ThemedSider or layout in my latest refine project. Need help.
No description
helpful-purple
helpful-purple9/24/2024

PWA (progressive web app) dashboard

I'm torn between using Next.js or Refine for building my web dashboard, which needs to function as a PWA. Do you have any recommendations on which would be better? I’d appreciate it if you could explain why as well.
ambitious-aqua
ambitious-aqua9/24/2024

<DateField> disable newline

<DateField> disable newline
ambitious-aqua
ambitious-aqua9/24/2024

create sticky footer

create sticky footer
ambitious-aqua
ambitious-aqua9/23/2024

how to make height full screen

how to make height full screen
conscious-sapphire
conscious-sapphire9/23/2024

What alternative way of onSuccess in useList?

What alternative way of onSuccess in useList?
absent-sapphire
absent-sapphire9/23/2024

What type safety can be achieved with Refine vs what can't?

New to refine, a couple of years of experience with typescript and react, many years using other type systems. Working through some simpe examples, I am running into many runtime errors that are not preceded by type errors or similar. E.g. I have a useForm that isn't passing all of the required fields for an update. It seems most of the documentation I've found seems to elide types. Is there any documentation about the extent to which types can be leveraged?...