Browse Source

Add a 'note' about passing arrays into the `value` attribute

This is for #1700
main
Jan Hancic 11 years ago
parent
commit
471ae3a592
  1. 4
      docs/06-forms.md

4
docs/06-forms.md

@ -146,3 +146,7 @@ The selected `<option>` in an HTML `<select>` is normally specified through that
```
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']}">`.

Loading…
Cancel
Save