et-select-dow_ro was only displaying the first day

This commit is contained in:
ralf 2024-11-15 16:13:42 +01:00
parent a6e8fe8dcc
commit ff050d3ef9

View File

@ -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;