Skip to content

Commit c64ee93

Browse files
authored
Mentioned that value is supported in <select> (#3217)
1 parent 019a989 commit c64ee93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/reference-dom-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ If you set `suppressHydrationWarning` to `true`, React will not warn you about m
120120

121121
### value {#value}
122122

123-
The `value` attribute is supported by `<input>` and `<textarea>` components. You can use it to set the value of the component. This is useful for building controlled components. `defaultValue` is the uncontrolled equivalent, which sets the value of the component when it is first mounted.
123+
The `value` attribute is supported by `<input>`, `<select>` and `<textarea>` components. You can use it to set the value of the component. This is useful for building controlled components. `defaultValue` is the uncontrolled equivalent, which sets the value of the component when it is first mounted.
124124

125125
## All Supported HTML Attributes {#all-supported-html-attributes}
126126

0 commit comments

Comments
 (0)