VijayVishnu
VijayVishnu

Reputation: 537

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

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?

Upvotes: 0

Views: 46

Answers (0)

Related Questions