mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix selectbox grouped options were not using value if provided
This commit is contained in:
parent
1747a2236a
commit
4b67e78012
@ -991,7 +991,8 @@ export class et2_selectbox extends et2_inputWidget
|
|||||||
if(sub == 'value') continue;
|
if(sub == 'value') continue;
|
||||||
if (typeof _options[key][sub] === 'object' && _options[key][sub] !== null)
|
if (typeof _options[key][sub] === 'object' && _options[key][sub] !== null)
|
||||||
{
|
{
|
||||||
this._appendOptionElement(sub,
|
this._appendOptionElement(
|
||||||
|
typeof _options[key][sub]["value"] !== "undefined" ? _options[key][sub]["value"] : sub,
|
||||||
_options[key][sub]["label"] ? _options[key][sub]["label"] : "",
|
_options[key][sub]["label"] ? _options[key][sub]["label"] : "",
|
||||||
_options[key][sub]["title"] ? _options[key][sub]["title"] : "",
|
_options[key][sub]["title"] ? _options[key][sub]["title"] : "",
|
||||||
group
|
group
|
||||||
|
Loading…
Reference in New Issue
Block a user