Angular 选择中的选定选项

5lhxktic  于 2022-09-18  发布在  Java
关注(0)|答案(0)|浏览(109)

我有SELECT WITH NG-REPEAT:

<select class="span5 ui-select2 id="goal_{{goal.id}}" multiple="multiple">
  <option ng-repeat="counterGoal in counterGoals" value="{{counterGoal.id}}">{{counterGoal.name}}</option>
</select>

goal型号中,我有类似[1,2,3,4,5,6]counter_goal_ids阵列。

如何选择goal.counter_goal_ids中包含的选项?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题