1
0
mirror of synced 2024-11-23 05:26:10 +03:00

Fix tagging example

Tagging should be demonstrated using the multiple select, as that
is where it really shines. It's also how we used to demonstrate it.

This closes https://github.com/select2/select2/issues/2901.
This commit is contained in:
Kevin Brown 2015-01-08 11:53:31 -05:00
parent 64cb528f62
commit 1fe8de3ad5

View File

@ -466,9 +466,10 @@ function log (name, args) {
</p> </p>
<p> <p>
<select class="js-example-tags form-control"> <select class="js-example-tags form-control" multiple="multiple">
<option value="one">First</option> <option selected="selected">orange</option>
<option value="other">Other</option> <option>white</option>
<option selected="selected">purple</option>
</select> </select>
</p> </p>