I love Selectize, but I've never seen a decent directive made for it.

I hacked up this basic 
integration<https://github.com/nickretallack/angular-selectize/blob/master/script.coffee>today.
  The idea is to make selectize work just like ng-options only 
better.  So far it supports values and labels like a well-behaved angular 
form input, but not optgroups, and it won't react to the options changing. 
 At least it's better than the 
existing<https://github.com/theaqua/ng-selectize/blob/master/src/ng-selectize.coffee>
 
implementations<https://github.com/paolodm/angular-selectize/blob/master/angular-selectize.js>
.

A good deal of this is just reading the source code of ngOptionsDirective 
and adapting it to Selectize.  If anyone would like to fork it and improve 
it, please do.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to