mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 09:18:36 +02:00
Fix conflict between Et2Select static type options & custom options resulted in losing the type options
This commit is contained in:
@ -178,7 +178,10 @@ export function find_select_options(widget, attr_options?, options : SelectOptio
|
||||
}
|
||||
if(!added)
|
||||
{
|
||||
options.splice(parseInt(i), 0, content_options[i]);
|
||||
options.splice(parseInt(i), 0, typeof value == "object" ? value : {
|
||||
value: value,
|
||||
label: <string><unknown>content_options[i]
|
||||
});
|
||||
}
|
||||
}
|
||||
content_options = options;
|
||||
|
Reference in New Issue
Block a user