Scope the select2 config call
This commit is contained in:
parent
f555c44f15
commit
523edac4c5
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ addEventListener('turbolinks:load', () => {
|
|||
width: '100%'
|
||||
});
|
||||
|
||||
$('select.select2-limited').select2({
|
||||
$('.columns-form select.select2-limited').select2({
|
||||
language: 'fr',
|
||||
placeholder: 'Sélectionnez des colonnes',
|
||||
maximumSelectionLength: '5',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue