Make all select2 widgets width automatic.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -179,11 +179,15 @@ jQuery(document).ready(function() {
|
||||
|
||||
}, 3000);
|
||||
|
||||
$('.select2').select2();
|
||||
$('.select2').select2({
|
||||
dropdownAutoWidth: true,
|
||||
width: '100%'
|
||||
});
|
||||
|
||||
$('.select2-tags').select2({
|
||||
templateSelection: tagSelectionTemplate,
|
||||
templateResult: tagResultTemplate
|
||||
templateResult: tagResultTemplate,
|
||||
width: '100%'
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user