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

.trigger("create") enhances form elements with data-role="none" RC2 #2803

Closed
anpsince83 opened this Issue Oct 21, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@anpsince83

It seems that calling .trigger("create") on an element that contains form elements with data-role="none" to keep them native are getting enhanced anyway in RC2. This issue was not present in RC1.

I set up a fiddle here: http://jsfiddle.net/anpsince83/RpMyq/3/ to illustrate the issue. It takes markup for native form elements from the native form elements demo page seen here: http://jquerymobile.com/demos/1.0rc2/docs/forms/forms-all-native.html and adds to the DOM. As you will see, calling .trigger("create") causes them to be enhanced when they are not supposed to be.

@johnbender

This comment has been minimized.

Show comment
Hide comment
@johnbender

johnbender Nov 2, 2011

Contributor

Should be fixed here: 78381c6 and my testing with http://jquerymobile.com/test/js shows the same. Please post here if the issue isn't resolved.

Contributor

johnbender commented Nov 2, 2011

Should be fixed here: 78381c6 and my testing with http://jquerymobile.com/test/js shows the same. Please post here if the issue isn't resolved.

@johnbender johnbender closed this Nov 2, 2011

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