Fix bug with single select multiple choice

This commit is contained in:
Michael Abashian 2017-03-08 11:04:15 -05:00
parent 7ec31bc198
commit ca60dc86a5

View File

@ -1,5 +1,5 @@
<div>
<select class="form-control SurveyMaker-previewSelect" ng-model="selectedValue" multi-select ng-required="isRequired" ng-disabled="isDisabled">
<option ng-repeat="choice in choices" value="{{choice}}" ng-selected="selectedValue.indexOf(choice) !== -1">{{choice}}</option>
<option ng-repeat="choice in choices" value="{{choice}}">{{choice}}</option>
</select>
</div>