mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix not displayed selected account, caused by egw.accounts() returning value as number, not string
This commit is contained in:
parent
e1097d9ea3
commit
dbdb124c1c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user