I’m new to both ionic and Angular so forgive me if I’m missing something really obvious.
I have an app with three tabs, two of which have multiple inputs and display some information at the bottom based on the data in the inputs.
If I input some data in the first tab, then change to the second tab and then go back to the first tab, all data in the first tab is lost. Ideally, navigating back to the first tab would still show all previously inputted data.
You can see what I mean here:
It’s using the default tabs starter project but with a text input added to the dash page. If you add some text to the input, change to another tab and then change back, the input will be blank.
Seems like someone had a similar(ish) issue here:
and was advised to store $stateParams and then re-set it. Would I have to do something similar with the form data or is there a ‘proper’ way of doing this?