Skip to content
New issue

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

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

Closed
Cimanel opened this issue May 6, 2022 · 0 comments · Fixed by #7652
Closed

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

Cimanel opened this issue May 6, 2022 · 0 comments · Fixed by #7652
Labels

Comments

@Cimanel
Copy link
Contributor

Cimanel commented May 6, 2022

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
@Cimanel Cimanel added the bug label May 6, 2022
@slax57 slax57 changed the title <CreateBase resource='payments'> don't have the ResourceContex set CreateBase doesn't set the ResourceContext like Create does May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant