From cc9a6bcf8a598e9440b922b25e1a518fc7eca1e6 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 19 Jan 2022 15:57:59 -0700 Subject: [PATCH] Don't split single values --- 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 5625582372..d06c8b0e57 100644 --- a/api/js/etemplate/Et2Select/Et2SelectReadonly.ts +++ b/api/js/etemplate/Et2Select/Et2SelectReadonly.ts @@ -89,7 +89,7 @@ li { set_value(value) { - if(typeof value == "string" && value.indexOf(",") > 0) + if(typeof value == "string") { value = value.split(","); }