我是AngularJS和Javascript的新手。我目前的下拉列表如下:
<div hidden id="mMethod">
<label style="font-size: medium">Method</label>
<select name="mMethod" class="form-control" ng-model="request.mMethod">
<option ng-repeat="mMethod in mMethods">{{ mMethod.value }}</option>
</select>
<div style="color:maroon" ng-messages="reuqestForm.mMethod.$error"
ng-if="reuqestForm.mMethod.$touched">
<div ng-message="required">This field is required</div>
</div>
</div>
现在我想更改此项,因为多选下拉列表在Controller中获取所选值。目前我有$scope.request.mMethod
如果我将下拉列表更改为多选,我是否必须更改控制器中的任何内容?