mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Make sure we don't reevaluate the value when there's already a value set (eg. given object of options with value attribute set)
This commit is contained in:
parent
aab768d87f
commit
7a4193073b
@ -226,7 +226,7 @@ export function cleanSelectOptions(options : SelectOption[] | string[] | object)
|
||||
{
|
||||
option = {label: option};
|
||||
}
|
||||
option.value = key.trim(); // link_search prefixes keys with one space
|
||||
option.value = option.value??key.trim(); // link_search prefixes keys with one space
|
||||
fixed_options.push(option);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user