📢 Moderators Needed 🚀

Moderators are needed with resources to post or have access to resources to post. Submit an application to be considered.
P

RSS "listitemclass" attribute has no effect in checkbox choice formatter

  • Thread starter Thread starter Painbaker
  • Start date Start date
P

Painbaker

Guest
Guest or Bot
The listitemclassattribute 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...
 
Back
Top