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(","); }