You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/reference-dom-elements.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,8 @@ The `onChange` event behaves as you would expect it to: whenever a form field is
56
56
57
57
### selected {#selected}
58
58
59
-
The `selected` attribute is supported by `<option>` components. You can use it to set whether the component is selected. This is useful for building controlled components.
59
+
If you want to mark an `<option>` as selected, reference the value of that option in the `value` of its `<select>` instead.
60
+
Check out ["The select Tag"](/docs/forms.html#the-select-tag) for detailed instructions.
0 commit comments