Category "react-admin"

Upload single image from axios to FastAPI: "Expected UploadFile, received: <class 'str'>"

I try to upload an image from my react-admin app to FastAPI using axios. The ImageInput component returns a File object which I cast to a Blob and try to upload

How to disable dates in react-admin DateInput

Is there any attribute we can use to disable future dates in react admin Date Input filter. <DateInput source="name" label="name" alwaysOn validate={getValid

Set maximum form field length in React Admin

Is there some way to set a field in a SimpleForm within React-Admin to limit the number of characters a user can type into that field? Based on the docs, the Re

Pass custom properties in Resource in V4

Bit of a newbie here that recently moved to v4. I have some Resources declared using options to pass some custom property. In React Admin 3 syntax: <Resource

ReactAdmin doesn't fully recognize a custom Resource functional component

I want to DRY the way my <Resource /> components are organized in my project. This way, my App.jsx file won't be bloated by a lot of code. For example, le

ReactAdmin doesn't fully recognize a custom Resource functional component

I want to DRY the way my <Resource /> components are organized in my project. This way, my App.jsx file won't be bloated by a lot of code. For example, le

React-admin keep form data after create view submit

In a react-admin Create form, is there a way to keep whatever info the user typed into the form to stay on the screen after the user clicks Save? I want to re-u

Implement BackButton in React-Admin v4

Before version 4, we could create BackButton like this: import React, { Component } from 'react'; import { connect } from 'react-redux'; import Button from '@ma

How can i read data from ReferenceInput in React admin?

When I use the referencinput, it sends a request to the server, is it possible to somehow read what I received from the referencinput server and use these value

How can I do masked input using React Admin?

I'm using <TextField source="phone" /> But I want to format the input to use masked input for phone format.

Custom react-admin drag & drop list

It can't drag. What is wrong with it? I'm using react-sortable-hoc with material-ui to custom react-admin list page with drag & drop sortable. Demo : https:

React.js: How to show base64 image with ImageField of react-admin

How to show base64 image with ImageField of react-admin? I used following code but it is not work: import * as React from "react"; import { List, Datagrid, Text

Rerender a row from Datagrid without refresh the whole list

In a List with DataGrid, in each row I have a button for change status, on button click I show a modal with a form, after submit, in the response I have updated

React Admin: I'd like to route to <Show> view from a list

I'm currently using react admin.I would like to route to my ActivityShow component when I click a row in the Resource list. When I click the row, the app route