Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
anpsince83 opened this Issue · 1 comment

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.

@redaemn redaemn referenced this issue from a commit in redaemn/jquery-mobile
@johnbender johnbender Revert "find the closest page to pull the keep native selector Fixes #…
…2803"

This reverts commit 9e1a3cc.
1bc2aec
@redaemn redaemn referenced this issue from a commit in redaemn/jquery-mobile
@johnbender johnbender corrected commit: find the closest page to pull the keep native selec…
…tor Fixes #2803
6bd2805
@eddiemonge eddiemonge referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@johnbender johnbender reopened this
@johnbender

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.