selected="selected" applied for all select options in angularjs

54 Views Asked by At

While switching between dropdown values in Angularjs Select directive, only the ng-model value is updated. But in browser console selected class wont be changed. How to change the selected value? see this example http://embed.plnkr.co/lqMR0Yl2hjVQ9qPfcbBd/

After selecting option "one" in dropdown in browser console the selected="selected" value wont be changed. see this screenshot.enter image description here

why selected="selected" value is not updated for the respective selected option in dropdown?how to do this?

0

There are 0 best solutions below