答案 0 :(得分:2)
应用选定的true和disable属性。
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.min.js"></script>
<form name="myForm">
<label for="singleSelect"> Single select: </label><br>
<select name="singleSelect" ng-model="data.singleSelect" required>
<option selected="true" disabled="disabled">Please select an option</option>
<option value="option-1">Option 1</option>
<option value="option-2">Option 2</option>
</select><br>
</form>