-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Allow useRedirect
to set location state
#6275
Comments
What's the use case for that? |
I have a use case where I must prefill a |
In same cases my resource edit page is accessible from different locations, so I would to return the user to the page where he came from. So in my case I would to store the "fromUrl" in the state. |
Fixed by #6293 |
Currently, the location state is hard-coded (state)
and not accessible from outside.
It would be nice to be able to pass state to the location, something like
The text was updated successfully, but these errors were encountered: