djett41 / ionic-filter-bar

Filter Bar plugin for the Ionic Framework
MIT License
362 stars 112 forks source link

Searching in arrays of items, for items and filterProperties problem #90

Closed chiragandroid closed 8 years ago

chiragandroid commented 8 years ago

Nice plugin to search items from array. but there are many problems when you are using in real projects like my array structure is like this vm.comboitem = [ [{name:1}, {name:2}, {name:3}, ], [ {name:4}, {name:5}, {name:6}] now i want to search name from vm.menu, so i write code like this

$ionicFilterBar.show({ items: vm.comboitem, update: function (filteredItems) { vm.comboitem = filteredItems; }, filterProperties: 'name' });

now this is not working, no changes in output.