mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Get radioboxes to understand {value: ..., label: ...} option format
This commit is contained in:
parent
afd1923851
commit
8de13c5bba
@ -371,6 +371,11 @@ var et2_radioGroup = (function(){ "use strict"; return et2_valueWidget.extend([e
|
||||
ro_false: this.options.ro_false,
|
||||
readonly: this.options.readonly
|
||||
};
|
||||
if(typeof _options[key] === 'object' && _options[key].label)
|
||||
{
|
||||
attrs.set_value = _options[key].value;
|
||||
attrs.label = _options[key].label;
|
||||
}
|
||||
// Can't have a required readonly, it will warn & be removed later, so avoid the warning
|
||||
if(attrs.readonly === false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user