Questions tagged [admin-on-rest]

Use it for questions about the admin-on-rest admin framework for React.js

Usage questions about the admin-on-rest framework.

501 questions
5
votes
3 answers

Background image in react-admin Login page

I want to use a image to be put in as background image of login page in react-admin how can I do this ? P.S: I'm using TypeScript
Anirudh Sharma
  • 129
  • 1
  • 3
  • 9
5
votes
2 answers

Many to many relationship react-admin

Im trying to show in a Datagrid a Field that is in a many to many relationship (intermediate table). I have these tables: group - group_subject - subject A group can have many subjects A subject can be connected with many Groups group_subject…
oskrgg
  • 101
  • 1
  • 9
5
votes
2 answers

React admin-on-rest adding X-Total-Count

I'm using admin-on-rest but getting an error when trying to connect to github api Error: The X-Total-Count header is missing in the HTTP Response. The jsonServer REST client expects responses for lists of resources to contain this header with the…
qaakmnd
  • 339
  • 2
  • 4
  • 18
5
votes
0 answers

admin-on-rest, redux-form, and trimming field values

This is actually less a question than it is me sharing my technique for trimming field values using this library. I'd read every single posting I could find on the matter on Stack Exchange and elsewhere, and could not find a complete working…
5
votes
2 answers

How can I add a (seeding the foreign key) to a ReferenceManyField in admin-on-rest

I have an edit form for a Post record, and I'm listing the Reviews associated with that Post in a ReferenceManyField/DataGrid (ie ). Each Review has the foreign key post_id in the DB. This is…
4
votes
0 answers

React admin login using customRoute not rerendering resources/drawer

I am using react-admin for a dashboard. Everything works fine, but using login on a custom page (using customRoutes) is not rererendering the drawer after the redirect. Those are my custom routes: export default [
user3125470
  • 109
  • 10
4
votes
2 answers

Not able to upload Image with ImageField in EDIT mode for react-admin

Using React Admin I am creating a dashboard for one of my clients and I have a requirement where I have to add the products of the client, out of the many fields there is one Image field too where I have to upload an image which serves in the API…
Nitish Kalra
  • 115
  • 3
  • 7
4
votes
2 answers

How do you integrate aws-amplify authentication with react-admin?

I'm trying to implement aws-amplify to my react-admin. Especially for the Authentication part. Instead of having something like this: react-admin with Amplify NavBar on top I'm looking to have "UserName" and "LogOut" button from "aws-amplify"…
4
votes
3 answers

How to disable the SaveButton when the SimpleForm is invalid in a react-admin app?

In a react-admin SimpleForm component validation is working fine when I click the save button. The field that is required is highlighted and marked red when I click the save button. I'd like to add a className to the SaveButton as long as the form…
Christiaan Westerbeek
  • 10,619
  • 13
  • 64
  • 89
4
votes
1 answer

"Unable to retrieve API documentation" on admin of api-platform

I trying to use all features of api-platform to test this solution. I don't want use the docker stack to understand the construction. My test API is now created and useable. https://ibb.co/hcjyrJ Entrypoint: http://api.localhost My problem is when…
Vincent Faliès
  • 298
  • 3
  • 10
4
votes
2 answers

TabbedForm - displaying toolbar (submit button) conditionally on FormTab

is there a way to remove submit button (toolbar) conditionally in specific Tabs, when using TabbedForm? (react-admin)
Elen
  • 95
  • 7
4
votes
0 answers

How to extend reference many field with custom sorting, filtering and actions

Have anyone extended the reference many field functionality with custom sorting, filtering and actions. Using built in grid or something like "React Grid". Would be awesome with some examples. Edit: I started on my own reference many controller…
twDuke
  • 927
  • 1
  • 8
  • 22
4
votes
1 answer

how to sort on the ReferenceField column in Admin-on-rest list view

I am sorry, if I have missed this piece in documentation. Please show me how to sort a ReferenceField column on username value rather than id in the list/datagrid view.
Gagan
  • 163
  • 12
4
votes
1 answer

admin-on-rest Reusable groups of input fields

I would like to reuse blocks of input fields. e.g. Use the same group of fields in both Create and Edit forms rather than repeating the code in multiple places. Documentation shows an example but it uses < Field > elements and trying to use the…
pythonjsgeo
  • 5,122
  • 2
  • 34
  • 47
4
votes
1 answer

Custom title with image in admin on rest

I'm using admin-on-rest to build our next dashboard. I'd like to be able to add a logo/image in the header in front of the title. Would this involve a custom theme, or is there a less invasive way of doing this?
Wesley Overdijk
  • 1,176
  • 10
  • 18
1
2
3
33 34