mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Et2Select: It was impossible to have "," in an option value, as it would get split by set_value()
see a9d2a3972c
This commit is contained in:
parent
6194c15b91
commit
98ae5aac1c
@ -464,7 +464,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
||||
|
||||
set_value(val : string | string[] | number | number[])
|
||||
{
|
||||
if(typeof val === 'string' && val.indexOf(',') !== -1 && (this.multiple || val.length >= 3))
|
||||
if(typeof val === 'string' && val.indexOf(',') !== -1 && this.multiple)
|
||||
{
|
||||
val = val.split(',');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user