fix not displayed selected account, caused by egw.accounts() returning value as number, not string

This commit is contained in:
ralf 2022-07-27 11:46:45 +02:00
parent e1097d9ea3
commit dbdb124c1c

View File

@ -74,6 +74,10 @@ export class Et2SelectAccount extends Et2Select
{
select_options = this.egw().accounts(this.accountType);
}
// egw.accounts returns value as number, causing the et2-select to not match the option
select_options.forEach(option => {
option.value = option.value.toString();
});
return select_options;
}