Skip to content

Commit 10abe8b

Browse files
author
Simkin, Maksim
committed
fix issue with not property shown selects, if options are loaded in runtime.
Issue: 3985 #3985
1 parent 4752eaf commit 10abe8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/ui-grid/ui-grid-filter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</div>
99

1010
<div ng-if="colFilter.type === 'select'">
11-
<select class="ui-grid-filter-select" ng-model="colFilter.term" ng-attr-placeholder="{{colFilter.placeholder || ''}}" ng-options="option.value as option.label for option in colFilter.selectOptions">
11+
<select class="ui-grid-filter-select" ng-model="colFilter.term" ng-show="colFilter.selectOptions.length > 0" ng-attr-placeholder="{{colFilter.placeholder || ''}}" ng-options="option.value as option.label for option in colFilter.selectOptions">
1212
<option value=""></option>
1313
</select>
1414

0 commit comments

Comments
 (0)