This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Select ng-options with "group by" does not clear list on update (IE11) #13487
Closed
Description
Having a <select>
and ng-options
with a group by
clause, after an update of the list
(e.g. using a filter
) the rendered list (of <optgroup>
/<option>
) isn't cleared but gets longer and longer after each update (IE11).
<select size="20" ng-model="selected"
ng-options="i as i.name group by i.cls for i in list | filter:filter">
</select>
Steps to reproduce:
- Open https://jsfiddle.net/gk8xeupm/ with IE11
- Type "foo" into the filter text field
- Clear text field
- Type "bar" into the filter text field
- Clear text field
- Watch the list becoming longer and longer
AngularJS: 1.4.8
Reproducable: always
Operating System: Windows 10
Browsers: IE version 11.11.10586.0