[Vuejs]-Vue selectize, getting json data from option?

0👍

var value = selectizeObject.getValue(),
    optionJson = selectizeObject.options[value];

selectizeObject is object for given select / input. For example with jQuery:

var selectizeObject = $('#my-select')[0].selectize;

Leave a comment