I need to use a fetch inside the FormDataConsumer tag but it seems FormDataConsumer does not support async functions. This code didn't work for me:  <FormDataConsumer> {     async ({ formData, scopedFormData, getSource, ...rest }) => {...
I am currently trying to collapse the edit form from the list view in React-Admin after hitting the submit button. I want to be able to view those updated changed in the new list form after hitting submit as well.  Right now I have a class which hand...
I found so long, but I couldn't solve this problem.  I followed the document they provided, but I can't edit the informations!  The react-admin is not requesting to the backend server. Backend code is perfect, I tested with postman.  Here'...
I'm making a react-admin app and I'd like to be able to handle file uploads. I have read the appropriate documentation on decorating-your-data-provider-example-of-file-upload and I already have a custom dataProvider.  The problem is that said...
I'm setting up an Api-platform (graphql enabled) server and a  react-admin client. I create a resource on api-platform (name Domain). If i query GraphQL Playground app i get expected results. After react-admin installed with the ra-data-graphql-s...
The question is conceptual, should the dataProvider apply formatting over the data before returning it to react-admin's frontend, or dataProvider must play the role only for data fetcher and must always return the data in the format it comes from...
I am trying to perform a simple fetch with strapi rest I am using ra-strapi-rest as a dataprovider I am able to fetch the data with Resource from react-admin but when i want to fetch a single record with custom query or a getList in useEffect i am no...
I render a complex form in the content area of my web application made with react-admin.   The form should be printable without the navigation elements, page header etc. just the content area. The outer container of the content to print looks like th...
I am using react-admin framework and I am trying to add new key to my object. The name of the key should be the value that will be filled by the user using TextInput.  This is the object:   I want to add the new key on the same level as is E111. So f...
I have modified the onDrop function of ImageInput so that it will eventually return a url from my custom function. However, I would like to set that return value to the image value of ImageInput.   ...  const uploadImg = ( acceptedFiles ) => {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.