select2_simple_form
select2_simple_form copied to clipboard
Select2 inputs for SimpleForm
I am getting the following error when implementing a select2 with SimpleForm and this gem: Cannot read property 'util' of undefined This is the offending line: var stripDiacritics = window.Select2.util.stripDiacritics;...
All of my feature specs fail when using this gem, due to the error in the title. var Select2SimpleForm = (function($) { 'use strict'; var prepareSelect2Options = function(options, $input) {...
Good morning. I'm using select2_simple_form in combination with cocoon in order to deal with nested models. The problem that I've foud is that each time a new nested record is...
How do I handle with select2 data that does not have `id` and `text` fields? Data like this will work: ``` var data = [ { id: 0, text: 'enhancement'...
There's a translation missing for select2's error message: 