Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

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

@anpsince83

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions