Filtering by Multiple Specific Model Properties in AngularJS (in OR relationship)

前端 未结 13 2544
北恋
北恋 2020-11-22 17:08

Take a look at the example here: http://docs.angularjs.org/api/ng.filter:filter

You can search by any of the phone properties by using

13条回答
  •  粉色の甜心
    2020-11-22 17:56

    Hope this answer will help,Multiple Value Filter

    And working example in this fiddle

    arrayOfObjectswithKeys | filterMultiple:{key1:['value1','value2','value3',...etc],key2:'value4',key3:[value5,value6,...etc]}
    

提交回复
热议问题