You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.
Currently it is not possible to build an inline radio button form becase the decorator always set the label_class attribute to radio.
here is a suggestion to allow to add custom classes to radio button label
if ($e->getType() == 'Zend_Form_Element_Radio') {
$e->setDecorators(self::$_MultiDecorator[$format]);
$e->setSeparator('');
if ($e->getAttrib('label_class') != null) {
$previousClass = $e->getAttrib('label_class');
$e->setAttrib('label_class', $previousClass . ' radio');
} else {
$e->setAttrib('label_class', 'radio');
}
}
The text was updated successfully, but these errors were encountered: