diff --git a/api/js/etemplate/Et2Select/Et2Select.ts b/api/js/etemplate/Et2Select/Et2Select.ts index 82f3a8232a..0400e953ee 100644 --- a/api/js/etemplate/Et2Select/Et2Select.ts +++ b/api/js/etemplate/Et2Select/Et2Select.ts @@ -174,6 +174,7 @@ export class Et2Select extends Et2InvokerMixin(Et2WidgetWithSelect) } else { + this._inputNode.multiple = true; // in case property is not yet set, selectbox will unselect all other options this._inputNode.querySelectorAll('option').forEach((el : HTMLOptionElement) => { el.selected = [].concat(value).find(val => val == el.value);