hello every one
i have a list and input to filter it :
<input ng-model="searchCode" class="form-control" placeholder="Search By
Code" type="number"/>
<tr ng-repeat="item in items | filter : {Code:searchCode}"></tr>
the filter work fine when I write any number for the searchCode but when I
remove the filtered code the list is not appear...
I think because the filtered become null or empty can anyone tells me how
to make the filter not accept null or empty from the input to fix this
error
regards /Adam
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.