kcuqww
Last Updated: February 25, 2016
·
2.233K
· saebyn

IE8 & AngularJS select weirdness

In IE8, using the select directive with ng-options and ng-model can cause some odd behavior when hovering over the opened list of options. When hovering over the list, the selection will randomly switch back to the currently selected option.

The work-around is to add an empty hard-coded option inside of the select, and use CSS to hide the option.