AngularJS directive for Selectize.js
JavaScript CSS HTML
#8 Compare This branch is 27 commits ahead of paolodm:master.

README.md

Angular.js directive for selectize.js. New version based on @kbanman work.

Installation

  • Install from bower

    bower install --save ng-selectize
    
  • Include styles

    <link rel="stylesheet" href="bower_components/selectize/dist/css/selectize.css">
    <link rel="stylesheet" href="bower_components/selectize/dist/css/selectize.bootstrap3.css">
    
  • Include scripts

    <script src="bower_components/selectize/dist/js/standalone/selectize.min.js"></script>
    <script src="bower_components/ng-selectize/ng-selectize.min.js"></script>
    

Usage

Multiple select:

<input type="text" selectize="config" options="suggestions" ng-model="selected" ng-disabled="disabled"/>

Single value:

<select selectize="config" options="suggestions" ng-model="selected" ng-disabled="disabled"></select>

Selectize.js documentation for config.