on-rest my project was working great untill I delete my node_modules file and try to re-install npm package.
I am getting this error
./node_modules/react-event-listener/dist/react-event-listener.cjs.js
Module not found: Can't resolve…
Problem
If I select a date in a , the datetime is in the user's timezone (e.g. 2017-07-01T00:00:00.000+02:00) but when it's sent to the server, it's transformed to UTC and thus ends up as 2017-06-30T22:00:00.000Z, one day behind.
The…
Is there any way to use a different reference field (other than id) for a ReferenceInput?
For example:
I have a languages resource, which I want to populate using a language_code field.Note, I don't want to use the id field of languages, I want to…
I'm trying to implement Sub-menu (nested menu).
It's worth to mention that I'm using hydra component and don't have previous experience with redux (started learning it a few days ago because of this specific problem).
I've followed the example…
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
React-admin's Resource component maps name prop value to an endpoint.
E.g. to access data from . http://example.com/abc, your Resource component looks like this:
What i want to access resource at…
Consider a case where I have a functional JSON backend, and the admin-on-rest resources company, user and company_user.
The data is as follows
company
id
name
address
...etc.
user
id
name
phone
address
...etc.
company_user
id
company_id…
I am setting up admin on rest, and now I am getting this error when I try to fetch data, even though I receive all the data needed from the server:
The Content-Range header is missing in the HTTP Response. The simple REST client expects responses…
How can I show validation messages after failed form submit? API request returns HTTP 400 'application/problem+json' response and contains violations as a list with field path.
https://www.rfc-editor.org/rfc/rfc7807#section-3
{
"type":…
I am trying to get a list to refresh after a custom action was successfully executed.
i used the saga from the admin on rest tutorial
function * actionApproveSuccess () {
yield put(showNotification('Executed'))
yield put(push('/comments'))
//…
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 anything equally simple for RefreshButton? I couldn't…
I am trying to embed React Admin (RA) into an existing React-Redux application and following the documentation here: https://marmelab.com/react-admin/CustomApp.html
While I have managed to successfully set up RA to use the root store, I am having…
I am using admin-on-rest. I want to build file upload functionality using simpleform component of admin-on-rest framework.
For this, I want to pass enctype="multipart/form-data" to form.
I am not able find any documentation or forums to understand,…
I am using admin-on-rest as the admin interface for an app I'm building.
In a create form, there are 3 inputs. I need to change the values of these 3 inputs based on events generated from antoher component.
export const OfficialPetitionCreate = (…
Is there a possibility to disable autocomplete for AOR SimpleForm component?
I tried various combinations of the following:
But nothing seems to work.
Can it be customized in such a manner or does it require creating…