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

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

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.

@redaemn redaemn pushed a commit to redaemn/jquery-mobile that referenced this issue Oct 22, 2011
@johnbender johnbender Revert "find the closest page to pull the keep native selector Fixes #…
…2803"

This reverts commit 9e1a3cc.
1bc2aec
@redaemn redaemn pushed a commit to redaemn/jquery-mobile that referenced this issue Oct 22, 2011
@johnbender johnbender corrected commit: find the closest page to pull the keep native selec…
…tor Fixes #2803
6bd2805
@johnbender johnbender reopened this Nov 2, 2011
@johnbender
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.

@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