-
Notifications
You must be signed in to change notification settings - Fork 27
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
Form Save? #26
Comments
Will not change what is displayed in the form, but
still returns the new value. This causes a huge problem since what the user sees and what we get from the DOM are different. This is why all the auto save stuff fails, and likely compatibility with other libraries. This is a bug. |
I currently handle this by putting the values back into the form by reading the query string using this nasty bit of hackery (the
The id of each field is the query parameter with "s_" prefixed. This keeps the form consistent with the values already present, but doesn't save them in a cookie or in local web storage. Hopefully, we can get better support for the "change" event so that a simple |
Anyone know of a form-saver that works with this? I want the form data to be persistent, but filling in the data via plugins (and likely most any jQuery call) means that the floating label won't display right. It looks like the is-dirty class isn't getting set.
If I have to roll it myself I will, but if anyone knows of a done solution, can you comment it here?
The text was updated successfully, but these errors were encountered: