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

Allow Select Menus to receive browser-default behavior and UI by ignoring data-role="none"#544

Closed
pharaoh-zz wants to merge 3 commits intojquery-archive:masterfrom
pharaoh-zz:master
Closed

Allow Select Menus to receive browser-default behavior and UI by ignoring data-role="none"#544
pharaoh-zz wants to merge 3 commits intojquery-archive:masterfrom
pharaoh-zz:master

Conversation

@pharaoh-zz
Copy link

I added:

    this.element
        .find( "select" )
        .not( "[data-role='slider'], [data-role='none']" )
        .selectmenu();

I also added this feature to the Select menu documentation.

@scottjehl
Copy link

added the keepNative option to page plugin, which defaults to this selector "[data-role='none'], .ui-nojs". Add the attribute data-role="none" to any form control or anchor and it will not be auto-enhanced. Thx @pharaoh for the syntax suggestion. Closed by efe4c38, Closed by efe4c38, Closed by efe4c38

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants