Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an example on how to use <select multiple>
The short info segment that is currently provided is insufficient to use an `<select multiple={true}>` element. This is especially confusing and frustraring with the sentence **"this makes it so that `<input type="text">`, `<textarea>`, and `<select>` all work very similarly"** right before it: In the case of using the `multiple` attribute, you *do* need to change your code a little bit more. The linked anonymous codepen is from me, feel free to copy/paste/modify it as you like; afaik all codepen example are owned by @gaearon? There is an [alternative codepen example](https://codepen.io/anon/pen/VOEezB?editors=0011) which also deals with writing a more suitable alert message, depending on how many options are selected, but in my opinion it adds unnecessary noice. This issue has also been addressed in #531, #984.
- Loading branch information