mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Add ={true} so it's aligned with recommended practises
This commit is contained in:
@@ -149,4 +149,4 @@ To make an uncontrolled component, `defaultValue` is used instead.
|
||||
|
||||
> Note:
|
||||
>
|
||||
> You can pass an array into the `value` attribute, allowing you to select multiple options in a `select` tag: `<select multiple value="{['B', 'C']}">`.
|
||||
> You can pass an array into the `value` attribute, allowing you to select multiple options in a `select` tag: `<select multiple={true} value="{['B', 'C']}">`.
|
||||
|
||||
Reference in New Issue
Block a user