react-admin Questions

3

Solved

I am trying to use the ra-data-simple-rest data provider. import React from 'react'; import { Admin, fetchUtils, Resource } from 'react-admin'; import simpleRestProvider from 'ra-data-simple-rest'...
Chord asked 31/7, 2019 at 18:58

10

I am currently developing an admin panel using 'react-admin' which works well on my local, but as soon as I upload the app to Heroku, the build fails with the following error: "FATAL ERROR: Ineffec...
Selvage asked 6/12, 2019 at 1:14

2

Solved

On a list view with few columns, the columns are very wide. I'd like to limit the width of at least some of these columns (except the last one): Still trying to come up to speed on react-admin, ...
Keos asked 1/5, 2020 at 5:43

2

How could I hide the action buttons in the React-Admin 2.2.0 framework? For example, I want to hide just the export button, or show only the Refresh and Export buttons.
Adlai asked 27/8, 2018 at 14:52

2

Solved

i'm trying to create a ZIP code input that loads street, state and city values automatically in a Create form using React-Admin. How can I populate the inputs based on the onBlur event of the zip c...
Volta asked 18/7, 2018 at 14:26

4

Solved

I am wondering, is it possible to configure DataProvider/Resource/List to support REST urls like api/users/1/roles? For RESTful API it is very common use case to get childs of certain parent entit...
Bream asked 18/1, 2019 at 13:30

3

I want to implement my own authProvider for react-admin but I'm stuck. I use a Django-Rest-Framework backend and a JWT token authentication system. I want to refresh the JWT token if it's almost ex...
Biosphere asked 14/2, 2020 at 20:21

6

I want to access index of simpleFormIterator. How can I do that? I have a code something like that I'm trying to access it in the SelectInput component <ArrayInput source='services'> &...
Turnspit asked 8/6, 2018 at 8:29

7

Solved

I create react app with create-react-app and install react-admin . when I want to start development server with yarn start throw an error unhand-led 'error' event and say Command failed with exit c...
Hi asked 5/5, 2020 at 11:11

4

Solved

I am using react-admin previously admin-on-rest. I want to create a custom page that doesn't show the Menu sidebar, like Login page. I will use this page reset user's password. How can I do that? ...
Brinkman asked 10/7, 2018 at 14:34

1

I'm trying to create multiple posts at once in a react-admin Create view. It's similar to one-to-many whereby one author can create multiple posts at once in a Create component in react-admin. I ha...
Insured asked 26/7, 2021 at 8:21

2

How to implement a autosave/background-save feature using react-admin? I want a feature when I am editing a rich input field, such as a rich text, a background saving will push my text to server, w...
Truckage asked 2/7, 2020 at 0:28

5

https://marmelab.com/react-admin/Inputs.html#arrayinput Examples cover cases where you have an array of objects: backlinks: [ { date: '2012-08-10T00:00:00.000Z', url: 'http://example.com/foo/b...
Vet asked 22/7, 2018 at 20:23

5

Solved

I want to add a signup page to my react-admin web portal. Since react-admin do not provide a signup page, I created a custom page and added it to custom routes: customRoutes.js import React from ...
Archy asked 25/11, 2018 at 18:9

4

Solved

I'm creating admin ui based on react-admin and currently searching for a solution to hide the refresh button from the AppBar. Disabling export button was trivial (exporter={false}). Is there anyth...
Bender asked 15/8, 2019 at 14:10

2

Solved

Within my App, we have permissions like ADD/DELETE based on roles. Admin has all permissions to add, delete, edit the records customers don't have the delete permissions. I therefore want to hi...
Guilt asked 16/4, 2020 at 10:50

3

Solved

Before version 2 you could just not pass remove prop to <Resource/> component. However now delete action is included by default in <List/> view and I can't find anywhere in docs how I c...
Oberammergau asked 29/11, 2018 at 11:15

4

Solved

Is there an easy was to start with the left menu collapsed or do I need to update the layout ? I'd like to have the menu collapsed by default with only the icons visible. Thank you.
Plainsong asked 3/7, 2019 at 16:22

3

Solved

I am having big troubles getting the "updated" value of a record in an edit form. I always get the initial record values, even though I have an input linked to the right record source, which should...
Tinderbox asked 30/7, 2018 at 13:24

2

Solved

According to an older comment and what I am experiencing with my app, react-admin may show the Dashboard when not authenticated for a brief moment right before redirecting to and showing the login ...
Augend asked 15/6, 2020 at 7:56

4

Solved

In a react-admin project I created my own toolbar button that should display a confirmation dialog, similar to the JavaScript alert but not quite as ugly. Only when the user clicks OK, things sho...
Eun asked 20/2, 2020 at 14:15

2

How to create sub menu in react-admin, because in admin-on-rest i can use prop menuItems in MenuItem Component. Does react-admin have same props for this case? I try create my own component, but w...
Agrippina asked 16/11, 2018 at 10:54

2

Solved

I have a ReferenceField as follows: <ReferenceField label="User" source="user_id" reference="users"> <TextField source="name" /> </ReferenceField> It works nice but the proble...
Erdman asked 19/9, 2018 at 6:42

1

Solved

I'm trying to configure dataProvider to include credentials/cookies, and following official repo's guide on sending Credentials To The API and other question, I managed to produce a typescript vers...
Puff asked 15/6, 2022 at 20:33

4

The Undo feature is a great, but it can cause inefficiencies during development cycles. Is there an easy way for us to disable it in our staging environment, or at least lower the timeout?
Buckle asked 25/2, 2019 at 11:53

© 2022 - 2024 — McMap. All rights reserved.