diff --git a/api/js/etemplate/Et2Select/Select/Et2SelectReadonly.ts b/api/js/etemplate/Et2Select/Select/Et2SelectReadonly.ts index 498b82b740..56b57c2933 100644 --- a/api/js/etemplate/Et2Select/Select/Et2SelectReadonly.ts +++ b/api/js/etemplate/Et2Select/Select/Et2SelectReadonly.ts @@ -458,6 +458,10 @@ export class Et2SelectDayOfWeekReadonly extends Et2StaticSelectMixin(Et2SelectRe getValueAsArray() { + if (Array.isArray(this.value)) + { + return this.value; + } let expanded_value = []; let int_value = parseInt(this.value); let options = this.select_options;