Skip to content
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

Remove All #1

Open
wedesignla opened this issue Jan 10, 2014 · 4 comments
Open

Remove All #1

wedesignla opened this issue Jan 10, 2014 · 4 comments

Comments

@wedesignla
Copy link

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?

thanks!

@kugaevsky
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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.

terokaisti pushed a commit to terokaisti/jquery-phoenix that referenced this issue May 23, 2016
Let jquery-phoenix support sessionStorage
@m-misseri
Copy link

yes, I need this too. +1 @wedesignla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants