GET_MANY_REFERENCE not saving data to store
See original GitHub issueI’ve just started with admin-on-rest, and have been trying to get a <ReferenceManyField> to work with a Datagrid on an Edit form - from what I can see my restClient is returning the right format of {data: [{Resource}]}, but looking in Redux Devtools when the CRUD_GET_MANY_REFERENCE_SUCCESS
action is fired, the references in admin.references.oneToMany are being updated to the store, but the payload itself isn’t being added to admin.[resource].data.
Any ideas?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
React Admin <ReferenceManyField> component is calling ...
Referencing this resource in <ReferenceManyField> , it should call the getManyReference method from the dataProvider but it calls the getList .
Read more >Writing A Data Provider - React-admin - Marmelab
In such cases, you'll have to write your own Data Provider. ... getManyReference, Read a list of resources related to another one, {...
Read more >Simple REST Data Provider For React-Admin - npm
Start using ra-data-simple-rest in your project by running `npm i ... npm install --save ra-data-simple-rest ... getManyReference, GET ...
Read more >React admin dashboard tutorial | Retool
To start, react-admin gives us data providers that can be used to backwards ... Get rid of the id and username field to...
Read more >promitheus/ra-data-postgrest - NPM Package Overview
Installation. npm install --save @promitheus/ra-data-postgrest ... getManyReference, GET http://my.api.url/posts?author_id=eq.345.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
My bad, I misunderstood you. You’re right, it’s a bug.
Ah, that was the issue, I didn’t have the
<Resource name="hosts" />
! Thanks a lot for your help 😃