Et2SelectReadonly: Make sure we're dealing with string value

This commit is contained in:
nathan 2022-04-29 10:00:24 -06:00
parent baf07a4a2c
commit de2dade286

View File

@ -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)
{ {