angularjs - Why does not work filter with track by $index? -
there unput field on page:
<input type="text" ng-model="searchinside">
also ng-repeat
below:
ng-repeat="item in details track $index | filter:searchinside"
when insert symbols in input filter searchinside
not work
because filters should applied before track by
expression. so, move track $index
end:
item in details | filter:searchinside track $index
Comments
Post a Comment