<select ng-model="selectedAssignTraining" ng-change="filterAssignedMembers(selectedAssignTraining)" ng-options="training.code as training.name for training in activeTrainings" class="form-control" ng-required="true"> <option value="" selected>Select Course</option> </select>
选择选项未被重置如何重置?我尝试将selectedAssignTraining设置为“”或具有值select course的第一个数组
1条答案
按热度按时间afdcj2ne1#
null似乎起作用了。