You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove seems to only reset values it finds on the current page the function is run on.
But if I'm using Phoenix on multiple pages, it doesn't clear / remove the storage for those other ones.
Am I doing something wrong or is this not a feature it has? Any workaround?
well i have a multi-page form, and i want to clear all fields from all pages. so when i have someone start over, its cleared. right now, it only clears the fields on the page its on
basically seeing if i can clear storage off page. it seems like it will only clear the fields from the page
Activity
kugaevsky commentedon Jan 11, 2014
You're right it's a feature.
There is no way to clear storage from one page to another.
Could you describe a scenario when you need it?
wedesignla commentedon Jan 13, 2014
well i have a multi-page form, and i want to clear all fields from all pages. so when i have someone start over, its cleared. right now, it only clears the fields on the page its on
basically seeing if i can clear storage off page. it seems like it will only clear the fields from the page
kugaevsky commentedon Jan 13, 2014
Okay, now I see.
Yes, it is not very common, but possible scenario.
I will think about implementation "clear another page storage" feature to phoenix.
m-misseri commentedon Oct 10, 2016
yes, I need this too. +1 @wedesignla