Skip to content
This repository

Listview: New option to start with all items hidden when search input in blank #5090

Closed
toddparker opened this Issue September 26, 2012 · 0 comments

3 participants

Todd Parker Jasper de Groot Ghislain Seguin
Todd Parker

There have been requests to use the listview filter as an autocomplete with local data by simply hiding all items if the search input value is blank. If we did this, it would allow a person to make what looks like an auto-complete by just adding a list and adding the filter option and this new option.

<ul data-role="listview" data-filter="true" data-filter-hidevalues="true">

The trickiest part is coming up with a clear name for this option. We should also divide if this should be a boolean or a value noting the minimum number of characters needed before showing the items so you coud require 2 or 3 characters before showing.

This feature would address issue #4539

Ghislain Seguin gseguin closed this issue from a commit October 11, 2012
Ghislain Seguin Listview: New option to start with all items hidden when search input…
… in blank

Please meet: data-filter-reveal
Fixes #5090
a9c80c5
Ghislain Seguin gseguin closed this in a9c80c5 October 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.