Skip to content

CreateBase doesn't set the ResourceContext like Create does #7651

@Cimanel

Description

@Cimanel

What you were expecting:

When I use <CreateBase resource="payments">, I expect to have the ResourceContext set.

What happened instead:

I don't have resourceContext set inside a CreateBase,
I have to wrap it with the <ResourceContextProvider value='payments'>

  • React-admin version:4.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions