This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ var SelectController =
166
166
* </select><br>
167
167
*
168
168
* <label for="singleSelect"> Single select with "not selected" option and dynamic option values: </label><br>
169
- * <select name="singleSelect" ng-model="data.singleSelect">
169
+ * <select name="singleSelect" id="singleSelect" ng-model="data.singleSelect">
170
170
* <option value="">---Please select---</option> <!-- not selected / blank option -->
171
171
* <option value="{{data.option1}}">Option 1</option> <!-- interpolation -->
172
172
* <option value="option-2">Option 2</option>
@@ -207,7 +207,7 @@ var SelectController =
207
207
* <div ng-controller="ExampleController">
208
208
* <form name="myForm">
209
209
* <label for="repeatSelect"> Repeat select: </label>
210
- * <select name="repeatSelect" ng-model="data.repeatSelect">
210
+ * <select name="repeatSelect" id="repeatSelect" ng-model="data.repeatSelect">
211
211
* <option ng-repeat="option in data.availableOptions" value="{{option.id}}">{{option.name}}</option>
212
212
* </select>
213
213
* </form>
You can’t perform that action at this time.
0 commit comments