There are almost 2,000 lines per page. I use the AngularJS filter to search for some elements containing typed strings. The problem is that the efficiency of printing a single character in the input control is poor. Do you have any good ideas for improving this filter? Here is the search code:
entry field:
<input class="searchText ng-cloak" ng-model="searchText.ValueName" placeholder="Search Value" />
in the ng-repeat table:
<tr ng-repeat="registry in currentSettings | filter:searchText" ....
string is filter:searchTextused for filtering.
source
share