-
-
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
FormTabs does not retain form values upon navigating. #4353
Comments
I can't reproduce the problem on the demo. Could it be related to #4066? Also, please follow the issue template and provide a CodeSandbox showing the bug. |
What you were expecting:
What happened instead: Steps to reproduce:
Other information: Environment:
Last version that did not exhibit the issue (if applicable): 2.9.x, below is the dependencies list
Browser: Chrome Will try to produce the Code Sandbox. |
Each time we navigate between the tabs We are also seeing below warning on the DEBUG Console which was not showing up in 2.9.
Some sort of additional navigation and reload is happening for the forms which is resetting the form in each tab upon navigating. Thank you! |
Thanks for the precisions, but we can't test the code you pasted because it's not complete. Please provide a link to a CodeSandbox showing the issue, based on the Simple example. I don't like to be this procedural, but since react-admin doesn't have this bug in the simple example, it means the bug appears in certain conditions. You have to isolate these conditions and prove the problem is on the react-admin side and not on your side. Otherwise, it's just troubleshooting, and we're not doing that here (see StackOverflow for troubleshooting). Thanks in advance ;) |
No news for some time, closing. |
We recently upgraded to 3.1. After going through upgrade docs and taking care of all changes, our application is showing this issue. We have multiple tabs in each form. If we fill in one tab and go to the other tab, the values from the previous tab are gone. Looks like upon navigating out and coming back to the tab again, the reload/reset of the form is happening. This is same with create and edit forms.
We looked for some documentation reference, nothing shows a lead to fix this issue.
Any help and suggestions asap are highly appreciated!
The text was updated successfully, but these errors were encountered: