我需要让他们都同步起来,这样当用户选择选项1,在wichever框,所有其他框将在选项1。
$scope.French_Options = ["Un", "Deux", "Trois"];
$scope.Bilingual_Options = ["Un/One", "Deux/Two", "Trois/Three"];
$scope.English_Options = ["One", "Two", "Three"];
<md-input-container>
<label>French</label>
<md-select ng-model="selection.french" ng-change="baseValueChange()" >
<md-option ng-repeat="option in French_Options" ng-value="option "> {{état_fr}} </md-option>
</md-select>
</md-input-container>
<md-input-container>
<label>Bilingual/ Status</label>
<md-select ng-model="selection.bilingual" ng-change="Notifications.('Bilingue', $index)" >
<md-option ng-repeat="option in Bilingual_Options" ng-value="option "> {{état_bilingue}} </md-option>
</md-select>
</md-input-container>
<md-input-container style="margin-top: 5px; margin-bottom: 5px;" flex="25">
<label>English</label>
<md-select ng-model="selection.english" ng-change="baseValueChange()>
<md-option ng-repeat="option in English_options" ng-value="option "> {{état_en}} </md-option>
</md-select>
</md-input-container>
有人知道如何做到这一点吗?