In our ng-repeat, we have the " /> In our ng-repeat, we have the " /> In our ng-repeat, we have the "/>

Strange table search results with Angularjs Filter

92 views Asked by At

Our team has built an HTML table with a search input at the top:

<input placeholder="Search..." ng-model="searchTable">

In our ng-repeat, we have the following:

<tr ng-repeat="item in data.list | filter:searchTable track by item.sys_id">

This works for the most part, but after extensive testing, we noticed some strange results. Below is what the table returned after we searched for "88":

enter image description here

The above SSNs are all fake, but you can see a number of entries that came back that did not have "88" in any of the columns. In fact all of them don't even have a single 8. Are we anything incorrect here? Any suggestions on how to fix this bug? Thanks!

0

There are 0 answers