selectize-rails provides the selectize.js plugin as a Rails engine to use it within the asset pipeline.
Add this to your Gemfile:
gem "selectize-rails"
and run bundle install
.
In your application.js
, include the following:
//= require selectize
In your application.css
, include the following:
*= require selectize
*= require selectize.default
To include additional theme's you can replace the selectize.default
for one of the theme files
See the demo page of Brian Reavis for examples how to use the plugin
Version | Notes |
---|---|
0.9.0 | Update to v0.9.0 of selectize.js |
0.8.5 | Update to v0.8.5 of selectize.js |
0.8.4 | Update to v0.8.4 of selectize.js |
0.8.3 | Update to v0.8.3 of selectize.js |
0.8.1 | Update to v0.8.1 of selectize.js |
- The selectize.js plugin is licensed under the Apache License, Version 2.0
- The selectize-rails project is licensed under the MIT License
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request