Merge pull request #5662 from mabashian/5644-survey-multiple-choice

Fix bug with single select multiple choice
This commit is contained in:
Michael Abashian 2017-03-08 14:15:13 -05:00 committed by GitHub
commit 81715446fb

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>