本文介绍了我有多个组合框,一旦被选中,如何从组合框中消除一个项目。因此它不应该出现在下一个组合框中。 Plz回复尽快。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< label for =>地址Line1< / label>

< select class =ui-selectng-model =addrLine1

name =AddressLine1

ng-options =fm as fm.fieldName for fm in datasource.fieldMappings track by fm.id

ng-change =transformationTypeSelected($ index,addrLine1,1 )>

< option value => - 选择 - < /选项>

< / select>







<label for="">Address Line1</label>
<select class="ui-select" ng-model="addrLine1"
name="AddressLine1"
ng-options="fm as fm.fieldName for fm in datasource.fieldMappings track by fm.id "
ng-change="transformationTypeSelected($index,addrLine1,1)">
<option value="">--Select--</option>
</select>





< label for =>地址Line2< / label>

< select class =ui-selectng-model =addrLine2

name =AddressLine2

ng-options =fm as fm.fieldName for fm in datasource.fieldMappings track by fm.id

ng-change =transformationTypeSelected($ index,addrLine2,1 )>

< option value => - 选择 - < /选项>

< / select>

推荐答案



< label for =>地址Line2< / label>

< select class =ui-selectng-model =addrLine2

name =AddressLine2

ng-options =fm as fm.fieldName for fm in datasource.fieldMappings track by fm.id

ng-change =transformationTypeSelected(

<label for=""> Address Line2 </label>
<select class="ui-select" ng-model="addrLine2"
name="AddressLine2"
ng-options="fm as fm.fieldName for fm in datasource.fieldMappings track by fm.id "
ng-change="transformationTypeSelected(



var selectedValue =


这篇关于我有多个组合框,一旦被选中,如何从组合框中消除一个项目。因此它不应该出现在下一个组合框中。 Plz回复尽快。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 12:47