禁用“保存”按钮;如果选择了任何新值,则将启用“保存”按钮!
<select ng-if='deviceList.stb.valueSet != null'
ng-model="$parent.selectedValue[deviceList.stb.attributeColumn]"
ng-options="obj.modelSerial as obj.modelSerial for obj in deviceList.cpe | cpeFilter: deviceList.stb: selectedValue[deviceDetailsList[deviceDetailsList.indexOf(deviceList)-1].stb.attributeColumn] "
ng-change="updateDeviceRequest(deviceList.stb.attributeColumn.toLowerCase(),selectedValue[deviceList.stb.attributeColumn]);updateDeviceDetails(deviceList.stb,selectedValue[deviceList.stb.attributeColumn]);"
ng-disabled="isComplete || (isSupervisor && !(isSupervisorTask))" name="deviceValueDropdown">
<option ng-if=" selectedValue[deviceList.stb.attributeColumn] === null" value="">{{"views.dropDown.select" | translate}}</option>
</select>