-
Notifications
You must be signed in to change notification settings - Fork 67
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
Data is getting erased while navigating to other screens #384
Comments
@Mohith93 @macintushar please assign this issue to me, i would like to resolve this issue. |
@xyfer17 assigned it to you. Would like to know how you are planning on implementing this after you go through the current code. |
@macintushar sorry for the delayed response. for the above issue I'm planning to save the form data in localStorage, so it won’t be erased when navigating to other screens. Here’s the approach I’m thinking of:
Let me know if you have any suggestions on above approach or a better approach! 👍 |
@xyfer17 need you to think about how you'll manage data if I fill out the form as:
|
@macintushar for this scenario ,if users logout the localStorage would clear ideally and the formData is also removed along with it. |
Describe the bug
In any point during navigating on screen , when User navigates back, Data is getting erased
To Reproduce
Steps to reproduce the behavior:
Actual Behaviour: Filled data is getting erased
Expected behavior
Data should not get cleared when user navigating back to previous screen.
The text was updated successfully, but these errors were encountered: