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.

Filterable: Add a data-no-filter attribute #8184

Open
@carsonip

Description

@carsonip

This is a feature request.
Add a data-no-filter attribute like this such that the list item will always show in both normal and reveal mode

<ul data-role="listview" data-filter="true" data-input="#filterBasic-input">
    <li data-no-filter="true">Acura</li>
    <li>Audi</li>
    <li>BMW</li>
    <li>Cadillac</li>
    <li>Ferrari</li>
</ul>

It is useful when we use a library like jqm-tinysort which inserts list items which are not intended for filtering.

People having the same problem:
http://stackoverflow.com/questions/14126115/jquery-mobile-how-to-prevent-the-header-row-of-a-list-view-from-getting-filtere

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions