From de2dade2868e2024461d972a3a505fc90e28c0f8 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 29 Apr 2022 10:00:24 -0600 Subject: [PATCH] Et2SelectReadonly: Make sure we're dealing with string value --- api/js/etemplate/Et2Select/Et2SelectReadonly.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Select/Et2SelectReadonly.ts b/api/js/etemplate/Et2Select/Et2SelectReadonly.ts index 902a1d2a89..d5aa0c3388 100644 --- a/api/js/etemplate/Et2Select/Et2SelectReadonly.ts +++ b/api/js/etemplate/Et2Select/Et2SelectReadonly.ts @@ -218,7 +218,7 @@ export class Et2SelectAccountReadonly extends Et2SelectReadonly // fix scalar (number or string) values if (typeof new_value !== 'object') { - new_value = [new_value]; + new_value = ["" + new_value]; } for(let id of new_value) {