Scope the select2 config call

This commit is contained in:
gregoirenovel 2018-09-10 17:52:29 +02:00
parent f555c44f15
commit 523edac4c5
2 changed files with 2 additions and 2 deletions

View file

@ -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',