esvit / ng-table

Simple table with sorting and filtering on AngularJS
http://esvit.github.io/ng-table
BSD 3-Clause "New" or "Revised" License
2.77k stars 851 forks source link

filter on select contains a first option hidden visible in internet explorer #916

Open darodi opened 8 years ago

darodi commented 8 years ago

When I create a filter on a select element, there are 2 options with a blank choice. The first option is hidden and doesn't show in firefox and chrome. However, in internet explorer, 2 blank lines are shown.

http://stackoverflow.com/questions/8169636/hide-options-in-select-element-not-working-in-ie http://stackoverflow.com/questions/2031740/hide-select-option-in-ie-using-jquery

When I select the second blank option in IE, it works fine, the value of the filter value is '' and no filter is done. All list elements stay there. When I select the first blank option in IE, it doesn't work, the filter value is null and no list element is left.