Skip to content
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.

IE (8-10) rendering issue when dynamically changing options #9621

Closed
@dnchristiansen

Description

@dnchristiansen

I have a set of selects that all have the same options. Then I run those options through a filter so that any options that are selected in a different select don't show up in the select. Basically I'm preventing the same option from being selected multiple times among the selects.

Here is a fiddle with 1.3.0: http://jsfiddle.net/pzy8s22q/

In IE8 - 10, if you change 3rd select from FFF to AAA, the two dropdowns before it show a different value than what is in the model.

if it helps at all, I posted this StackOverflow question back in the early days of Angular when I first ran into this: http://stackoverflow.com/questions/12942681/how-to-fix-ie-select-issue-when-dynamically-changing-options

I mentioned some of these details in issue #4749 but it has since been closed. There was a comment there with a suggested fix that fixed the issue for me: #4749 (comment)

Any reason the lines
lastElement.attr('label', existingOption.label);
and
element.attr('label', option.label);

couldn't be added where mentioned in the comment?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions