Skip to content

Typescript identifies no record prop on Edit component #7624

Closed

Description

Typescript error passing record prop to Edit component, prop does not exist and component not reading record override

image

Attempting to render only if transformedRecord exists - still retrieves from resource getOne and not using supplied transformedRecord

image

TS error ignore-override -- still does not use supplied transformedRecord
image

As seen in docs, it should be there: https://marmelab.com/react-admin/Edit.html#record

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions