我有 2 组数组,第 1 组是整个数组组,第 2 组是前 10 个数组(第 2 组是 UI 中显示的)。我已经实现了列表视图的搜索。
但我需要从整个数组列表中搜索。
<form class="searchbar searchbar-init" data-search-list=".list-block-search" data-search-in=".item-title" data-found=".searchbar-found" data-not-found=".searchbar-not-found">
<div class="searchbar-input">
<input type="search" placeholder="Search">
<a href="#" class="searchbar-clear"></a>
</div>
<a href="#" class="searchbar-cancel">Cancel</a>
</form>