How do I use a select option twice with AngularJS while an option is still selected?

  angularjs, javascript

I have three select options in my code like so:

<select ng-model="selected" ng-change="doSomething()">
    <option value="somevalue">some option</option>
    <option value="someothervalue">some other option</option>
</select>

The problem I am experiencing is that after I click on ‘some option’ and trigger the ng-change for the first time, I then can’t select that option again as it won’t trigger the ng-change. Does anyone have any ideas?

Edit: What I hope to do is trigger the ng-change again without having to un-select the option.

Source: New feed
Source Url How do I use a select option twice with AngularJS while an option is still selected?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.