-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cannot submit a form inside a charm #884
Comments
+1 |
I did remove close charms on document click and preventDefaul an d StopPropogation linked with this. This fixed in develop branch |
I've found a way you can close charms by clicking outside them using the document click event and submit inside a charm with no problems by adding this:
I've tested it with ruby on rails (using firefox and vivaldi) and nw.js, it worked perfectly fine, My solution is based on this link consider it for metro ui 4 and the current version. |
Hello,
because of the "e.preventDefault();" (line 3941) in the metro.js, we cannot submit any form inside the charm which is really annoying. (I was stuck for 2 hours on this bug)
Maybe we can remove this "e.preventDefault();" I didn't found in what it was useful maybe you guys know ?
The text was updated successfully, but these errors were encountered: