We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript error passing record prop to Edit component, prop does not exist and component not reading record override
Attempting to render only if transformedRecord exists - still retrieves from resource getOne and not using supplied transformedRecord
TS error ignore-override -- still does not use supplied transformedRecord
As seen in docs, it should be there: https://marmelab.com/react-admin/Edit.html#record
The text was updated successfully, but these errors were encountered:
Thanks for the report.
The documentation is erroneous - <Edit> does not and should not accept a custom record.
<Edit>
record
The wrong doc was introduced in e4c56e4 by copying the Create documentation (and <Create> does accept a record prop).
Create
<Create>
Sorry, something went wrong.
[Doc] Fix Edit component mentions unsupported prop
95bbeee
Closes #7624
ebe3610
Closes marmelab#7624
fzaninotto
Successfully merging a pull request may close this issue.
Typescript error passing record prop to Edit component, prop does not exist and component not reading record override
Attempting to render only if transformedRecord exists - still retrieves from resource getOne and not using supplied transformedRecord
TS error ignore-override -- still does not use supplied transformedRecord
As seen in docs, it should be there: https://marmelab.com/react-admin/Edit.html#record
The text was updated successfully, but these errors were encountered: