I am currently working on a table that has multiple filter fields, one for each column.
<table>
<tr>
<th><input type="text" ng-model="search.name"></th>
<th><input type="text" ng-model="search.phone"></th>
<th><input type="text" ng-model="search.secret"></th>
<th><input type="text" ng-model="search.nullcol"></th>
</tr>
<tr ng-repeat="user in users | filter:search:strict">
<td>{{user.name}}</td>
<td>{{user.phone}}</td>
<td>{{user.secret}}</td>
<td>{{user.nullcol}}</td>
</tr>
</table>
While everything is functioning properly, I have encountered an issue with filtering on a column that contains null values. When I enter a search term and rows with null values disappear as expected, deleting the filter does not restore them.
You can view my code on plunkr here: https://plnkr.co/edit/viMHsxBHI4CjfjWqWjti
Is there a solution to make this work as intended?