How to set init value and label
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
Description
I use value declaration to initialize selectize:
<input type="text" value="awesome,neat">
But I don't know how to declare values with a different label, something like:
<input type="text" value="[{value:12,label:awesome},{value:137,label:neat}]">
so that selectize will show up with "awesome" and "neat" by post "12" and "137" on submit.