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

Cannot create a custom login page with Admin-On-Rest

Been trying for a while to figure out how to set a custom login page in admin-on-rest v-1.0.0 Need to enable email based login. For this I changed the default admin-on-rest login page code slightly (below) Replaced the UserName with email and…
kunal pareek
  • 1,285
  • 10
  • 21
0
votes
1 answer

How do I refresh a ReferenceManyField while remaining on the page?

Hi and thanks in advance! Admin on Rest is a great base to start from to quickly build simple REST admins. I have a scenario where I would like to display and edit related records without leaving the parent. e.g Editing the Options of a Multiple…
AnttyC
  • 116
  • 1
  • 8
0
votes
1 answer

How to make admin-on-rest render a custom list component?

I am using this to build a admin UX https://github.com/marmelab/admin-on-rest and it seems to fit perfectly into what I want to build except one feature: My work project needs to display a tree grid to display groups or subgroups of items in a tree…
0
votes
2 answers

How can I use both Resource and MenuItem in Admin menu

So I have Admin with all the resources that I need and it works great. But I also need one little menu item that would just open a simple form with a button. I created Menu.js like it's described…
Konstantin Bodnia
  • 1,372
  • 3
  • 20
  • 43
0
votes
1 answer

aor-simple-graphql-client : error following the tutorial

I'm trying to use aor-simple-graphql-client for admin on rest with react-boilerplate. I got a simple error trying to create the Apollo client. File : App.js on admin class App extends Component { constructor() { super(); this.state = {…
0
votes
2 answers

How can I configure title from a config file in admin-on-rest

I need to customize the list title, but to allow it in diff. languages. I try: and title is changed as expected BUT how do I make the string configurable from a file?
bach
  • 369
  • 3
  • 10
0
votes
0 answers

Data loss on concurrent editing of a resource with admin-on-rest

I have an app which is using React with admin-on-rest. I have a resource and it has a ListView and the user can navigate to the EditView from there. Apparently, admin-on-rest uses the same object that is fetched on the ListView for the EditView as…
omid.n
  • 491
  • 5
  • 22
0
votes
1 answer

admin-on-rest: many to many relationships

What is a proper way to define many to many relationships? I have the relation: Master <-many-to-many-> Service REST API: /services?filter={"master_id": 123} This code shows all related services:
Andreo
  • 597
  • 5
  • 19
0
votes
1 answer

Es6 react how I can extract const component in other file fail

I have this es6 + jsx code than work fine: // list.js import React from 'react'; import { List, Datagrid, Filter, TextInput, NumberField, TextField, } from 'admin-on-rest/lib/mui'; const Filters = props =>
stefsava
  • 11
  • 3
0
votes
1 answer

How to change field source in admin-on-rest reactJS

I have status field the value is 0 and 1 which attribute type is integer, but I need to display as string/ convert to word which 1 is "accepted" and 0 is "rejected". How do I change it in ?
Khalid
  • 887
  • 2
  • 13
  • 26
0
votes
3 answers

Can't using ReferenceInput in admin-on-rest

Here is the ref : Admin-on-Rest in app.js : in customer.js :
Khalid
  • 887
  • 2
  • 13
  • 26
0
votes
2 answers

Can't send correct JSON params from admin-on-rest (reactJS)

Hi all I'm following this https://marmelab.com/admin-on-rest/index.html, for login thing, I'm following https://marmelab.com/admin-on-rest/Authentication.html : import { AUTH_LOGIN } from 'admin-on-rest'; import restClient from…
Khalid
  • 887
  • 2
  • 13
  • 26
-1
votes
1 answer

Will admin on rest play nicely with cloudinary/postgres on the same tab?

Before i start looking down this road i have different datasources that would need to be updated in the same tab if i was to attempt to use react-admin, wondering if i'll be able to modify it to do what i need?
Greg Belyea
  • 858
  • 1
  • 5
  • 15
-1
votes
1 answer

AutocompleteInput: change format of query

Is it possible to, for example, change the "q" query key in the AutocompleteInput? The default { "q": "foobar" } doesn't work with my API where "q" would be correspondent to a model key, e.g productName to make the filtering. EDIT:…
Emil Hernqvist
  • 188
  • 1
  • 7
-1
votes
1 answer

admin-on-rest What testing tools/patterns are available?

Is there a resource somewhere that lays out all the best tools/patterns/approaches specifically for apps built using admin-on-rest? I don't see anything in the…
pythonjsgeo
  • 5,122
  • 2
  • 34
  • 47
1 2 3
33
34