Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 927ebd9

Browse files
committed
docs(select): add missing id attributes in examples
1 parent f5536ab commit 927ebd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/directive/select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ var SelectController =
166166
* </select><br>
167167
*
168168
* <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">
170170
* <option value="">---Please select---</option> <!-- not selected / blank option -->
171171
* <option value="{{data.option1}}">Option 1</option> <!-- interpolation -->
172172
* <option value="option-2">Option 2</option>
@@ -207,7 +207,7 @@ var SelectController =
207207
* <div ng-controller="ExampleController">
208208
* <form name="myForm">
209209
* <label for="repeatSelect"> Repeat select: </label>
210-
* <select name="repeatSelect" ng-model="data.repeatSelect">
210+
* <select name="repeatSelect" id="repeatSelect" ng-model="data.repeatSelect">
211211
* <option ng-repeat="option in data.availableOptions" value="{{option.id}}">{{option.name}}</option>
212212
* </select>
213213
* </form>

0 commit comments

Comments
 (0)