react-admin Questions
3
In an react-admin 3.2.3 edit form I need to show related records (the list of job records) from a different resource. The relation is a bit weird and requires string parsing so I can't just use the...
Shortchange asked 25/2, 2020 at 16:19
1
My API provides cursor-based pagination not offset-limit pagination, so is hard to match up to the page: {int} and perPage: {int} configuration that React-Admin provides for GET_LIST and GET_MANY_R...
Turbid asked 21/10, 2019 at 9:40
6
If I have multiple distinct REST API back-ends (separate apps doing separate things), and I want a single UI (react-admin-based) app that is capable of doing CRUD to entities managed by these vario...
Gilreath asked 6/6, 2018 at 16:6
6
Solved
I'm using react-admin v2.3.2 with a custom dashboard component as shown in the react-admin tutorial.
<Admin dashboard={MyDashboard}>
<Resource name="incidents ... />
</Admin>
...
Integrant asked 24/9, 2018 at 20:59
1
Solved
I try to upload an image from my react-admin app to FastAPI using axios. The ImageInput component returns a File object which I cast to a Blob and try to upload using axios.
The API client I am usi...
Pathos asked 23/1, 2022 at 16:11
2
Solved
I have a CheckboxGroupInput field like this:
<CheckboxGroupInput source="fruits" choices={[
{ 'name': 'apples' },
{ 'name': 'pears' }
]} optionValue='name'/>
which produces json likes ...
Bradleigh asked 31/1, 2020 at 9:59
3
Solved
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 ad...
Dahlia asked 18/6, 2018 at 14:6
3
With React Admin it is possible to add Filters to a List component. An example of this can be seen in the demo: https://marmelab.com/react-admin-demo/#/commands
The code for this particular comp...
Whiffler asked 3/11, 2019 at 12:53
3
Solved
I'm using a <TextInput> in a <SimpleForm> and when I clear out the value at runtime, react-admin sets the property's value to null when it sends the values to the DataProvider. I would ...
Jesse asked 11/7, 2020 at 19:18
1
I am creating an app with React using Nextjs.
I'd like to really use react-admin for my BO. I tried test example and with react it works perfectly. Unfortunately, while I am trying to include some ...
Sakmar asked 8/1, 2021 at 13:16
3
I want to create a custom two-column-grid layout on my react-admin project on Edit and Show pages. I want to display selectboxes and the imageupload area on the left column, and the text inputs on ...
Neomaneomah asked 13/11, 2018 at 10:10
5
Solved
I have a filter component:
export const PostsFilter = (props) => (
<Filter {...props}>
<TextInput label='Post ID' source='id' alwaysOn />
<TextInput label='User ID' source='us...
Bos asked 22/10, 2018 at 9:37
4
I'm trying to implement authentication using Auth0 in a react-admin v3 app. I need to implement an authProvider that talks with Auth0. This sounds like something that should be available somewhere,...
Cablegram asked 4/1, 2020 at 13:2
2
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:
<Resource name='abc'/>
Wh...
Photoengraving asked 18/5, 2018 at 15:19
1
I have successfully removed delete button from datagrid by suppling props bulkActionButtons={false} but Unable to remove delete button from Edit component of react-admin
export const UserEdit = (p...
Superintend asked 29/4, 2020 at 16:52
2
I've created a number of Show views in a new React-Admin project. Rather than have the fields just form a single column I would like to use Material UI's Grid component to arrange them into a more ...
Lemuel asked 18/4, 2019 at 17:10
1
Solved
I'm trying to use react-admin to send data to my custom API. I want to send files, I can see that there is , I'd like to send that data as multi-part form data. I have come across the base64 encodi...
Hypochondria asked 10/12, 2019 at 12:39
2
In my app using react-admin I have a few forms where the validation must be performed on the server side. My API (implemented with api-platform) returns a 400 response with a key in its body that c...
Myxoma asked 6/2, 2020 at 14:47
4
Solved
Is there any way to perform server side form validation using https://github.com/marmelab/react-admin package?
Here's the code for AdminCreate Component. It sends create request to api. Api return...
Emlyn asked 8/5, 2018 at 15:24
2
Solved
I'm trying to set up a react-admin app in typescript and I can't quite figure out how to import react-admin. It gives me the (simple) error saying
"Could not find a declaration file for module 'r...
Helianthus asked 13/11, 2019 at 13:28
3
Solved
I have a dashboard implemented on react-admin. The authentication process was done following this tutorial.
Now I need to implement a forgot password screen, but the problem is that this screen ne...
Agretha asked 23/1, 2019 at 4:56
2
Solved
My question is related to react-admin repo.
I want to dispatch an action, outside of scope of a component, in order to do that, I've read that I need to get access to the actual redux store itself...
Maisonette asked 7/2, 2019 at 9:34
3
Solved
I need to implement a <BackButton /> in react-admin for example when I open show page for a resource I need able to back to the list page.
Can you guide me to implement this?
I'm not familia...
Spacial asked 20/2, 2019 at 14:52
0
I want to use react-admin in a project with snowpack but I encounter the following error
✖ snowpack failed to load node_modules/ra-core/node_modules/@testing-library/dom/dist/@testing-library/dom....
Uxorial asked 7/6, 2020 at 14:26
2
The react-admin homepage prominently shows an OpenAPI (formerly Swagger) logo, but I can't find the relevant Data Provider in the list or on GitHub. Is it best to use ra-data-simple-rest and extend...
Prothalamium asked 21/1, 2020 at 8:41
© 2022 - 2024 — McMap. All rights reserved.