IE9 <options> issue - dropdown shows only first letter of selected option

1,357 views
Skip to first unread message

Jeremy Bell

unread,
May 20, 2013, 4:43:51 PM5/20/13
to ang...@googlegroups.com
I haven't been able to reproduce this issue outside of my app, so I was wondering if anyone else has had this issue and might be able to narrow it down. I have an <options> with ng-options set initially to an empty array and ng-model set to a property that is initially null. After a data service request, both the options array and the selected value are set. Something like this:

(note: I can't get IE9 to actually open this page. you can also try this: http://jsfiddle.net/YTS4E/ )

What happens occasionally (about 1 in 10 times), is that when the data service request finishes, the <options> will flicker slightly, then show only the first character of the selected item, like this:

The problem is I can't seem to reproduce it outside of my particular app, so I'm not sure if it is a bug in angular or some other component (I suspect another component, since I'm unable to reproduce it outside my actual app). I'm using Angular 1.0.3, boostrap 2.3.2, jquery 1.9.1. This may be a long shot, considering, but has anyone else seen this behavior?

Thanks,
Jeremy

Jeremy Bell

unread,
May 20, 2013, 4:49:47 PM5/20/13
to ang...@googlegroups.com
Hmm.. just noticed this post: 
http://stackoverflow.com/questions/5908494/select-only-shows-first-char-of-selected-option

Is this related?

Thanks,
Jeremy
Reply all
Reply to author
Forward
0 new messages