jquery/jquery-mobile — Issue #2915: .trigger("create") enhances form elements with data-role="none" inside a listview
Author: anpsince83
Created: 2011-11-02 19:36:55+00:00
State: open

Calling .trigger("create") on an element that contains form elements with `data-role="none"` to keep them native, the form elements are enhanced anyway when inside of a listview with RC2. I was hoping the fix for issue #2803 would take care of this, but it is still occurring. This issue did not exist in RC1.

Here is a jsfiddle to illustrate the issue: http://jsfiddle.net/anpsince83/UtBaW/. It takes the markup for the native form element demos on the jQM docs and adds it to a listview. As you will see, the form elements get enhanced when they are not supposed to.