JQuery Mobile ListView filter working after pressing backspace

116 Views Asked by At

I am using Jquery Mobile ListView filter.

HTML Code:

<ul data-role="listview" data-filter="true" id="ulBrands" data-corners="false" data-filter-placeholder="">
  <!-- list of "li" is dynamic -->
</ul>enter code here`

When I type "ab" then filter is now working, but when I press backspace then it's start showing the filter result.

What is the problem?

0

There are 0 best solutions below