diff --git a/panoramix/static/panoramix.js b/panoramix/static/panoramix.js index e3978c402f..f6a868f1ca 100644 --- a/panoramix/static/panoramix.js +++ b/panoramix/static/panoramix.js @@ -28,7 +28,7 @@ function initializeDatasourceView() { return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); } - $(".select2").select2(); + $(".select2").select2({dropdownAutoWidth : true}); $(".select2Sortable").select2(); $(".select2Sortable").select2Sortable(); $("form").show(); diff --git a/panoramix/templates/panoramix/explore.html b/panoramix/templates/panoramix/explore.html index 811597e6e2..ef029cf563 100644 --- a/panoramix/templates/panoramix/explore.html +++ b/panoramix/templates/panoramix/explore.html @@ -32,7 +32,7 @@ - {{ form.get_field("viz_type")(class_="select2") }} + {{ form.get_field("viz_type")(class_="select2") }} query