Need help with selectize-rails?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

manuelvanrijn
127 Stars 37 Forks MIT License 52 Commits 0 Opened issues

Description

A small gem for putting selectize.js into the Rails asset pipeline

Services available

!
?

Need anything else?

Contributors list

# 193,053
archite...
ruby-on...
vapor
Swift
19 commits
# 64,850
Shell
Sass
js
modal-p...
2 commits
# 76,496
Ruby
activea...
Rails
admin-u...
1 commit
# 229,009
gatsbyj...
lambda
GraphQL
aws-app...
1 commit
# 713,123
Ruby
Shell
1 commit

selectize-rails Gem Version

selectize-rails provides the selectize.js plugin as a Rails engine to use it within the asset pipeline.

Installation

Add this to your Gemfile:

gem "selectize-rails"

and run

bundle install
.

Usage

In your

application.js
, include the following:
//= require selectize

In your

application.css
, include the following:
 *= require selectize
 *= require selectize.default

Or if you like, you could use import instead

@import 'selectize'
@import 'selectize.bootstrap3'

Themes

To include additional theme's you can replace the

selectize.default
for one of the theme files

Examples

See the demo page for examples how to use the plugin

Changes

| Version | Notes | | ----------:| ----------------------------------------------------------- | | 0.12.6 | Update to v0.12.6 of selectize.js | | 0.12.5 | Update to v0.12.5 of selectize.js | | 0.12.4.1 | Moved css files to scss to be able to use

@import
| | 0.12.4 | Update to v0.12.4 of selectize.js | | 0.12.3 | Update to v0.12.3 of selectize.js |

older

License

Contributing

  1. Fork it
  2. Create your feature branch (
    git checkout -b my-new-feature
    )
  3. Commit your changes (
    git commit -am 'Add some feature'
    )
  4. Push to the branch (
    git push origin my-new-feature
    )
  5. Create new Pull Request

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.