set width of select2 to 'resolve' instead of '100%'

This commit is contained in:
Uwe Steinmann 2022-09-06 10:41:12 +02:00
parent f9b4291512
commit 6c7d397837

View File

@ -62,7 +62,7 @@ function initMost() {
$(".chzn-select").select2({
theme: "bootstrap4",
width: '100%',
width: 'resolve',
templateResult: chzn_template_func//,
//templateSelection: chzn_template_func
});