-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
Description
Hi!
I would like to use the bootstrap4 theme for Select2. The way to activate it would be:
$('select').select2({
theme: 'bootstrap4',
});To make that work with django-easy-select2 it seems I would need to pass theme: 'bootstrap4' here:
| _jq(document).ready(function(){ | |
| // easy_select2() can take select2 constructor arguments object | |
| _jq('body').easy_select(); | |
| }); |
If that's right, I wonder how to best bypass just easy_select2/js/init.js as a user and load a custom copy. Any thoughts? Would a PR adding a new setting work?
Best, Sebastian
Reactions are currently unavailable