mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Et2Select: Deal with initial value of multiple set as CSV
This commit is contained in:
parent
f2c57c5e75
commit
cfce00f7ea
@ -228,6 +228,12 @@ export class Et2Select extends Et2WithSearchMixin(Et2InvokerMixin(Et2WidgetWithS
|
||||
this._set_invoker(attrs.expand_multiple_rows);
|
||||
}
|
||||
super.transformAttributes(attrs);
|
||||
|
||||
// Deal with initial value of multiple set as CSV
|
||||
if(this.multiple && typeof this.value == "string")
|
||||
{
|
||||
this.value = this.value.length ? this.value.split(",") : [];
|
||||
}
|
||||
}
|
||||
|
||||
set expand_multiple_rows(rows)
|
||||
|
Loading…
Reference in New Issue
Block a user