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.
ng-option doesn't handle first selection properly under IE11 #7692
Closed
Description
Selecting an option for the first time in a select dropdown under IE11 when no option is currently selected
- does not make the select dropdown display the correct option
- does properly set the selected option value in the model though
Reproducible: alaways
Browsers: IE11
Operating system: Windows 7, Windows 8
Steps to reproduce:
- Go to this plunker http://plnkr.co/edit/XWXhqupzPItuLT3KUvPq?p=preview using IE11
- Click on the select dropdown to open it
- Click on the
second
,third
,fourth
orfifth
option - See the select displaying
first
instead of the selected option
or
- Go to the AngularJs doc with IE11 https://docs.angularjs.org/api/ng/directive/select
- Scroll down to the last example
- Click on
-- choose color --
in the dropdown next toColor (null allowed):
- Click on
red
in the dropdown next toColor (null not allowed):
- See the select displaying
black
instead ofred