mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix some select options were not being cleaned
Integer values provided from server were not being converted to strings, breaking value handling & matching
This commit is contained in:
parent
dd9a0dd788
commit
3971abc54b
@ -120,6 +120,10 @@ export function find_select_options(widget, attr_options?, options : SelectOptio
|
||||
content_options = [...new Map([...cleanSelectOptions(options), ...cleanSelectOptions(content_options || [])].map(item =>
|
||||
[item.value, item])).values()];
|
||||
}
|
||||
if(content_options)
|
||||
{
|
||||
content_options = cleanSelectOptions(content_options);
|
||||
}
|
||||
}
|
||||
|
||||
// Check whether the options entry was found, if not read it from the
|
||||
|
Loading…
Reference in New Issue
Block a user