AngularJS directive for Selectize.js
Switch branches/tags
Clone or download
#8 Compare This branch is 27 commits ahead of paolodm:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example Updated examples in README Nov 5, 2015
.gitignore Updated to ignore Webstorm IDE files Nov 5, 2015
.jshintrc Add grunt build Aug 16, 2015
Gruntfile.js Add grunt build Aug 16, 2015
README.md
bower.json
ng-selectize.js Adding ng-disabled support, fixing undefined bug in options during wa… Oct 29, 2015
ng-selectize.min.js Adding ng-disabled support, fixing undefined bug in options during wa… Oct 29, 2015
package.json Add grunt build Aug 16, 2015

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.