forked from extern/egroupware
Et2SelectReadonly: Make sure we're dealing with string value
This commit is contained in:
parent
baf07a4a2c
commit
de2dade286
@ -218,7 +218,7 @@ export class Et2SelectAccountReadonly extends Et2SelectReadonly
|
|||||||
// fix scalar (number or string) values
|
// fix scalar (number or string) values
|
||||||
if (typeof new_value !== 'object')
|
if (typeof new_value !== 'object')
|
||||||
{
|
{
|
||||||
new_value = [new_value];
|
new_value = ["" + new_value];
|
||||||
}
|
}
|
||||||
for(let id of new_value)
|
for(let id of new_value)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user