Skip to content

imevro/ng-selectize

 
 

Repository files navigation

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.

About

AngularJS directive for Selectize.js

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.5%
  • CSS 7.1%
  • HTML 1.4%