@samitouri / QOS-React-2 / commits / b016400bb1

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

This is for #1700

Jan Hancic committed Aug 6, 2014 at 23:45 UTC b016400bb1f553a261867c464dbfef9f650eb1e3
1 file changed +4
docs/docs/06-forms.md
+4
@@ -146,3 +146,7 @@ The selected `<option>` in an HTML `<select>` is normally specified through that
146 ```
147
148 To make an uncontrolled component, `defaultValue` is used instead.
149 +
150 +> Note:
151 +>
152 +> You can pass an array into the `value` attribute, allowing you to select multiple options in a `select` tag: `<select multiple value="{['B', 'C']}">`.