Multi-select#
Demo#
Store
Explanation#
<div data-store="{cars:[]}">
<select data-model="cars" multiple>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
</select>
<pre data-text="JSON.stringify(ctx.store().value, null, 2)">Store</pre>
</div>
Sometimes you need multi-select.