diff --git a/js/extkeywidget.js b/js/extkeywidget.js index a9abd31db..5fa935e16 100644 --- a/js/extkeywidget.js +++ b/js/extkeywidget.js @@ -97,10 +97,12 @@ function ExtKeyWidget(id, sTargetClass, sFilter, sTitle, bSelectMode, oWizHelper valueField: 'value', labelField: 'label', searchField: 'label', - options:JSON.parse(options), + options: JSON.parse(options), maxItems: 1, copyClassesToDropdown: false, inputClass: 'ibo-input ibo-input-select ibo-input-selectize', + // To avoid dropdown to be cut by the container's overflow hidden rule + dropdownParent: 'body', }); let $selectize = $select[0].selectize; // This stores the selectize object to a variable (with name 'selectize') $selectize.setValue(initValue, true); diff --git a/js/jquery.itop-set-widget.js b/js/jquery.itop-set-widget.js index cff9ba53b..82bbf293a 100644 --- a/js/jquery.itop-set-widget.js +++ b/js/jquery.itop-set-widget.js @@ -151,6 +151,8 @@ $.widget('itop.set_widget', create: false, placeholder: Dict.S("Core:AttributeSet:placeholder"), inputClass: 'selectize-input ibo-input ibo-input-set ibo-input-selectize', + // To avoid dropdown to be cut by the container's overflow hidden rule + dropdownParent: 'body', onInitialize: function () { var selectizeWidget = this; setWidget._onInitialize(selectizeWidget);