Open Mohith93 opened 3 weeks ago
@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:
@xyfer17 need you to think about how you'll manage data if I fill out the form as:
- open in account A, fill the form, close it and login with account B
@macintushar for this scenario ,if users logout the localStorage would clear ideally and the formData is also removed along with it. so that account B doesn't have the account A data prefilled in the form.
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.