Browse Source

Mentioned that `value` is supported in `<select>` (#3217)

main
PhistucK 4 years ago
committed by GitHub
parent
commit
c64ee93706
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/reference-dom-elements.md

2
content/docs/reference-dom-elements.md

@ -120,7 +120,7 @@ If you set `suppressHydrationWarning` to `true`, React will not warn you about m
### value {#value}
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.
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.
## All Supported HTML Attributes {#all-supported-html-attributes}

Loading…
Cancel
Save