ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 28,247
- Points
- 823
Reputation:
The
Checkbox renderer does not call processAttributeToNamedHtmlAttribute() for listitemclass. Instead, it hardcodes the class as inputChoices-choice in the li element:
Radio renderer:
PHP:
Read more
Continue reading...
listitemclass
attribute in the checkbox tag processor is ignored. This attribute is expected to behave similarly to the radio tag processor.Checkbox renderer does not call processAttributeToNamedHtmlAttribute() for listitemclass. Instead, it hardcodes the class as inputChoices-choice in the li element:
Radio renderer:
PHP:
Code:
public function formRadio(array $controlOptions, array $choices)
{
....
$choiceFormatter = function (array $choice, array...
Read more
Continue reading...