Closed pdobb closed 4 years ago
🙏
Thanks for a merge 🙏
Please merge.
:bulb: Never mind. Switching to:
= stylesheet_link_tag 'https://cdn.jsdelivr.net/npm/select2@4.0.7/dist/css/select2.min.css'
= javascript_include_tag 'https://cdn.jsdelivr.net/npm/select2@4.0.3/dist/js/select2.full.min.js'
:smile:
Sprockets asset gems seem like an unsustainable option that will always lag behind official releases...
Now updated for select2 v4.0.8.
Hm. Just found the update script: rake update-select2
. Using this instead now...
If anyone wants to utilize my branch in the mean time:
gem "select2-rails", github: "pdobb/select2-rails"
@argerim 🙏
Looks like select2 is up to 4.0.13 now 🤷🏻♂️
Added a commit to update to select2 v4.0.13 for all to benefit.
Version 4.0.13 available: https://github.com/argerim/select2-rails/releases/tag/v4.0.13
See https://github.com/select2/select2/blob/develop/CHANGELOG.md#4013 for changes in select2 versions since 4.0.3.
I updated the code with
rake update-select2
and selected tag ~4.0.8~ 4.0.13. (Cool feature!)