Selectize.js is a neat UI tool. I got introduced to it via a coworker used it in a project. I didn’t bother to really look into it until recently when I wanted to do autocomplete and multiple selects.
I didn’t find any example code of using the onInit option to load values via a Remote API so I decided to make an example to share with you all.
Code is here on my github, https://github.com/fangstar/selectize-oninitautoloadoption,
Example can be seen here on my DigitalOcean server.