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
4
votes
0 answers

In list component, how to implement a component to change the number of results displayed

I was thinking about making a simple component with a Select and the list of results that should be displayed. After reading the code, that seems impossible, because if I change the url, then update is triggered by componentWillReceiveProps, and…
Flo
  • 71
  • 4
4
votes
4 answers

admin-on-rest: Hide Form Input depends on other Input value

I couldn't find way to hide input depends on some record value. I tried to get import { formValueSelector } from 'redux-form' to get current state but i failed. export default props =>
Ismail Baskin
  • 374
  • 6
  • 9
3
votes
1 answer

Show edited value in aside in react-admin

I am using react-admin for admin interface. In edit form aside i want to show edited value (just to understand how to capture form changed values, later will show data from api for those changed values). My code as follows (Simplified) const Aside =…
Shamim Hasan
  • 179
  • 2
  • 9
3
votes
3 answers

React-Admin | Cannot upload a file using FileInput

First time with React-Admin. I am using it to create a panel that basically monitors some parameters that I get from an API. However, one section requires a .csv file to be uploaded. I am trying to implement it with FileInput but I am unable to…
oz19
  • 1,616
  • 1
  • 17
  • 22
3
votes
1 answer

Is it safe to (can I) use `HttpError` from 'admin-on-rest/lib/util/HttpError'?

My API provider is sending error messages in the response.body as a ReadableStream as plain text and I need to get admin-on-rest to display those messages to the end user. I'm planning to do so like this: import HttpError from…
lealceldeiro
  • 14,342
  • 6
  • 49
  • 80
3
votes
1 answer

Customize the list layout

I'm using the rest-admin Framework. I would like to change the layout of the lists, and add a custom component. Currently the layout is: I want is to add a quick search component. And the filter panel show or hide it with an action. Because I think…
Barto
  • 337
  • 2
  • 11
3
votes
2 answers

How to hide columns in Datagrid based on filters values

Can we dynamically show/hide the columns of a List Datagrid based on the filters values? I do not see how we can do this. Thanks for any help on this.
user2078023
  • 1,137
  • 1
  • 10
  • 28
3
votes
2 answers

Custom Button in react-admin

I want to create a 'clone' button from react-admin which will allow me to clone/copy the existing data record into another one and will open an sort of edit form to edit them and create a new entry. How can I do it? P.S I am using…
Anirudh Sharma
  • 129
  • 1
  • 3
  • 9
3
votes
4 answers

Mount react-admin under /admin

I simply want all of my admin pages to be under /admin. My main page is at /admin but…
swrobel
  • 4,053
  • 2
  • 33
  • 42
3
votes
1 answer

Create custom form in react-admin

I am using Edit and SimpleForm from react-admin. How do I create a custom form to allow customised action and type on submit? App.js index.js
Chetan Gawai
  • 2,361
  • 1
  • 25
  • 36
3
votes
4 answers

Cutomize Delete button react-admin

Is there any way to customise DeleteButton button in react-admin to add a confirmation message like 'Do you want to delete item?'. Currently on clicking on DeleteButton it directly deletes the item without asking for a confirmation. I tried adding…
Chetan Gawai
  • 2,361
  • 1
  • 25
  • 36
3
votes
1 answer

In admin-on-rest, how to change the Chrome Tab title from "React App"

When I have admin-on-rest app running, the client Chrome Tab always shows "React App" instead of whatever title I set in Admin component in App.js. Is there way to customize the tile of the tab to something else? React App screenshot shown in Chrome…
blueheart_2
  • 153
  • 2
  • 7
3
votes
2 answers

Admin On Rest Framework or React drop zone, Issue in uploading a file to firebase

I am using well know React Framework https://marmelab.com/admin-on-rest/RestClients.html Now I want to upload a file to firebase, I follow the doc and find an awesome uploading component FileInput (FileInput allows to upload some files using…
Nirmal
  • 939
  • 10
  • 24
3
votes
1 answer

Admin-On-REST custom REST client fails to compile

After starting with the Admin-On-REST Tutorial I tried to bind the app to my existing ArangoDB backend with a custom REST-Client implementation. The backend exposes a simple auto-generated "default" FOXX HTTP API. That basically worked with the…
vlabmichl
  • 43
  • 4
3
votes
0 answers

How to make a date range search with firebase using admin-on-rest filters?

I'm using admin-on-rest framework and aor-firebase-client and i'm trying to figure out how to make a filter by date range in List View. It seems like firebase doesn't support _gte and _lte suffixes used in admin-on-rest demo. So how can i use or…
Elmay Zied
  • 31
  • 4
1 2
3
33 34