0
我在角形式有一个多选场:角:格式保存和加载多个选择数据
<div crm-ui-field="{name: 'subform.committees', title: ts('Secondary Committee')}">
<div ng-controller="CommitteeCtrl">
<select
multiple="multiple"
crm-ui-id="subform.committees"
name="secondary_committee"
crm-ui-select="{dropdownAutoWidth : true, allowClear: false, placeholder: ts('Choose Committee')}"
ng-model="mailing.secondary_committee"
ng-options="comm as comm.label for comm in comms track by comm.value"
>
<option />
</select>
</div>
</div>
我遇到问题,试图找出如何存储数据和检索它,这样角度形式正确加载值。角度如何看待数据?
这[一](https://docs.angularjs.org/api/ng/directive/select)怎么样? – mbeso