Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Jquery mobile dialog clear form value problem #3478

Closed
querywilly opened this issue Jan 24, 2012 · 6 comments
Closed

Jquery mobile dialog clear form value problem #3478

querywilly opened this issue Jan 24, 2012 · 6 comments

Comments

@querywilly
Copy link

Hello

I have a problem

This is my form

form
input type="text" id="xx" /
/form

enter data into the "xx" box and dialog show link click

a href="/pop3.html" data-rel="dialog" data-transition="pop" Open dialog

and X button close dialog, return page.

The form data deleted.

Waiting for your help..

@josemite
Copy link

josemite commented Feb 8, 2012

I've got a similar problem: #3549.

@agcolom
Copy link
Contributor

agcolom commented Feb 20, 2012

@querywilly Hi, I have tried to reproduce your bug...

Try the links below, and click the 2 first dialogs (page with id page2, and dialog.html)

http://users.cscs.wmin.ac.uk/~coloma/testJQM/testDialogWithForm2.html (uses latest)
http://users.cscs.wmin.ac.uk/~coloma/testJQM/testDialogWithForm.html (uses 1.0.1)

I cannot reproduce with either on them. Can you? If you do, please let us know the device and the browser you are seeing this issue with, and also which of the above links and with dialog allows you to reproduce.

Thanks,

Anne

@toddparker note this seems to be the same issue as what was reported in #3549.

@toddparker
Copy link
Contributor

Good catch @agcolom. Closing as a duplicate of #3549.

@querywilly
Copy link
Author

Hello
I m tested your code but problem again

problem video
http://www.youtube.com/watch?v=uxcWvOulaBU

problem code
http://www.izlesenebunu.com/test_app.zip

Thanks

@agcolom
Copy link
Contributor

agcolom commented Feb 21, 2012

@querywilly Thanks a lot for this. That's really useful. I've updated my test. In the mean time, we are using #3549 to track this issue, as there were two issues opened.

I can confirm that I can reproduce with 1.0.1 and with latest. To reproduce, go to one of the pages from another page.
To prevent from happening, add data-ajax='false' to the a tag that opens the page with the form.

@querywilly
Copy link
Author

Thanks

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

No branches or pull requests

4 participants