misc: add extra attributes in list of options for radio buttons (#48678) #474
|
@ -293,6 +293,7 @@ class RadiobuttonsWidget(quixote.form.RadiobuttonsWidget):
|
|||
'label': description,
|
||||
'disabled': bool(self.options_with_attributes and option[-1].get('disabled')),
|
||||
'selected': self.is_selected(object),
|
||||
'options': option[-1] if self.options_with_attributes else None,
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue