select2-rails
select2-rails copied to clipboard
Integrate Select2 javascript library with Rails asset pipeline
Just letting you know the example application appears to be down: http://select-2-example.herokuapp.com/ 
This has been done here: https://github.com/argerim/select2-rails/pull/197 We are not working with v4, so I think it would be better to add it to 3-5 stable
The following code used to work: ```js $('[data-select-products]').each(function() { var $el; $el = $(this); return $el.select2({ theme: 'bootstrap', width: null, containerCssClass: ':all:', minimumInputLength: 2, ajax: { url: '/admin/shop/products', delay: 600,...
Is it possible change syntaxes a little? from:` //= require select2 ` on: `import 'select2'` and the same with ` //= require select2_locale_"any possible language"` on: `import 'select2_locale_"any possible language"'`...
Hello Thanks for creating this wonderful Gem. Just want to know if this gem is still maintained and continued. I was planning to use it in my project. Thanks!
How / Can I use this with Rails 6 and webpacker. Including the scss is fine, but I'm trying to require the js like this in app/javasript/packs/application.js `require("select2")` and get...
I added a bootstrap 4 theme from https://github.com/ttskch/select2-bootstrap4-theme It seems to be working for me, but I would like others to verify.
Hi, I have rails 5.2 and ruby 2.5.1, i installed "gem rails-select2" and added to application.js ``` //= require select2-full //= require select2_locale_es ``` and added to application.scss ``` @import...
Trying to upgrade to rails 6 and got the below error. ``` rails (~> 6.0, >= 6.0.2.1) was resolved to 6.0.2.1, which depends on railties (= 6.0.2.1) was resolved to...
Had gem 'select2-rails', '~> 3.5.9.1' in my gemfile since last year and it had all been working fine -- but for some reason (and unsure when it happened) but now...