I am working with an application with an active administrator and I have to select several values from the selected input, I added the Select2 icon, which adds all the relevant JS and CSS without problems, but for some reason the selection fields seem to slightly change the appearance, but not by completeness2 , after checking JS is not like adding all the correct classes ...... any ideas?
Here is my code:
active_admin.css.scss
//= require select2 @import "active_admin/mixins"; @import "active_admin/base";
active_admin.js
//= require select2 //= require active_admin/base $(".select2able").select2({ placeholder: "Select a Partner" });
activeadmin form
f.input :sponsors, as: :select, collection: Sponsor.all, input_html: {class: 'select2able'}
source share