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
Dialogs not working in 4.3 #1408
Comments
Show your dialog code and browser console |
console: |
How you init the dialog? |
HTML:
|
the problem has been identified; now I am dealing with its solution. The problem is related to the interaction between Metro4 and jQuery. Thank you. |
Temporary, try this call:
|
Thank you Olton. Im now using 4.2 version which is working, as soon as it will be fixed I'll return to using CDN version. |
About Metro 4 CDN |
You can check it with 4.3.1 branch from GitHub or CDN for 4.3.x dev |
Hi, I just started using version 4.3.2, i had used Metro v3 in the past, I'm predefining a Dialog, and when i open the webpage, the dialog isn't hidden, and it has an OK button in it, when i init my Dialog it opens up fixed in the bottom of the page, and not in the center of the screen as it should. in the Browser console it also says: "Element not contain role dialog! Please add attribute data-role="dialog" to element #AddUser". |
Upgrade to latest 4.3.3 release or 4.3.4 dev |
I Upgraded all files, Still no change.. |
HTML:
JS:
|
This demo with 4.3.3 from CDN https://codepen.io/olton/pen/ZEEwrMw |
Also, you must use
|
I'll follow your recommendations and notify you, thanks. |
dialog.setContent() sends me an error, dialog is undefined. I believe getPlugin() is not returning anything from script. |
Create your code on codepen.io |
Thank you for suggestion: I found problem: I deleted: and now everything works |
Only there is always an OK button i do not want |
data-default-action="false" |
Thank you for all your support |
Hi after yesterday's update dialogs stop working, and when I try to open dialog, I only get message "Element not contain role dialog! Please add attribute data-role="dialog" to element #idDialog". There is data-role="dialog" in dialog for sure, as dialogs worked in older versions and rollback to ver. 4.2 helped as well.
The text was updated successfully, but these errors were encountered: