allow clearing table filters with cancel button #1989 (#2005)

* fixes issue #1989 add cancel icon to filter input in table headers, which allows user to clear filter with one click
This commit is contained in:
Deep Tailor
2018-06-20 14:18:54 -07:00
committed by Andrew Henry
parent 2f8a0c2c2b
commit 374e4afc32
10 changed files with 85 additions and 37 deletions

View File

@@ -43,8 +43,11 @@
width: columnWidths[$index] + 'px',
'max-width': columnWidths[$index] + 'px',
}">
<input type="text"
ng-model="filters[header]"/>
<div class="holder l-filter flex-elem grows">
<input type="search"
ng-model="filters[header]"/>
<a class="clear-icon clear-input icon-x-in-circle" ng-class="{show: filters[header]}" ng-click="filters[header] = undefined"></a>
</div>
</th>
</tr>
</thead>