1,832 questions
1
vote
0
answers
54
views
React-Admin InPlaceEditor does not show pointer cursor when field is empty or null
I’m using the new InPlaceEditor component from React-Admin to allow inline editing of fields in a Show view.
Here’s a simplified version of my code:
import { Show, InPlaceEditor } from 'react-admin';
...
0
votes
1
answer
61
views
Filter based on an array in react admin
I am using react admin and I have a view that contains a column which has a bunch of ids [1, 2, 3] and I have an id based on which I want to filter.
<List
resource="view"
filter={...
0
votes
2
answers
145
views
React admin data provider on server (back end) side
We're considering React Admin for our project. We've evaluated it, gone well. However, we have a unique requirement which we cannot find
an answer to.
According to the Data Provider architect:
The ...
0
votes
1
answer
119
views
React-Admin Dependency Issue in Turborepo Monorepo: MUI, emotion and etc... Not Resolved
I’m using a monorepo managed by Turborepo, and I recently moved my React-Admin project into it. In my standalone React-Admin setup, I didn’t need to manually install MUI (@mui/material) because it’s a ...
-1
votes
1
answer
96
views
How handlecallback works in react-admin?
I am working with the authprovider of react-admin. I want to know how exactly yhe handlecallback works in case of using a 3rd party authenication provider.
1
vote
1
answer
194
views
Using useFormState in a react-admin Form seems broken
I try using the hook useFormState from react-hook-form in a react-admin form
I am a beginner for both modules so maybe I use them wrong but I searched through both of the documentations and I could ...
0
votes
1
answer
50
views
useFormContext updates the input values, but not the state of the form
useFormContext changes the value of the input and the state of the request payload sent to API.
import { FC, useEffect, useRef, useState } from "react";
import {
ArrayInput,
BooleanInput,...
1
vote
0
answers
92
views
How do I diagnose 401 errors using JWT authentication on a postgrest api?
I'm new to postgres and I'm struggling with 401 errors on a project that uses a 'codeless' postgrest api with JWT authentication. Now stuck!
Can anyone suggest what I can do to diagnose what's going ...
1
vote
1
answer
59
views
React-Admin: Access to an ArrayInput element's original value in Edit
I am rendering a custom Input as part of an ArrayInput (via SimpleFormIterator) and the Input needs to know the original value it held before any possible changes by the user.
React Admin's ...
0
votes
1
answer
145
views
Module '"react-hook-form"' has no exported member 'FieldPath'.ts(2305)
I am writing a data provider for a react admin. While writing the function for the getList function in the data provider. I am getting these errors:
Property 'page' does not exist on type '...
1
vote
1
answer
86
views
client (React Admin) not consistent sending authorization header to backend, when making a request
Hi There dear programmer,
I am having a issue with the client not being consistent with sending the authorization header when sending a request (for a resource).
What I mean with not being consistent ...
0
votes
1
answer
93
views
Django REST & react-admin: Content-Range header missing
Using react-admin's ra-data-simple-rest DataProvider I would like to make a request to a django REST api. In Django I built the following custom pagination class which is supposed to expose the ...
1
vote
1
answer
270
views
OIDC login flow breaks in react strict mode for react-admin v5
I was using react-admin v4 and built a custom AuthProvider with the help of the oidc-client package and it worked in development (with react StrictMode on) as well as production.
Now, I have upgraded ...
0
votes
1
answer
89
views
TypeError: can't access property "name", record.section is undefined
Hey guys thanks in advance! I’m using [email protected] in [email protected]. My src/app/admin/App.tsx looks like this:
// src/app/admin/App.tsx
const dataProvider = simpleRestProvider("/api");...
1
vote
0
answers
24
views
Is an MDI like interface possible with sub nested breadcrumb trail?
In playing around with the various MarmeLab react-admin demos, it seems it's heavily dependent on the browser back button. An eventual goal for our application is to host it within a bootstrap like ...