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