checkBoxControlGroup generate wrond 'for' label attibure

Issue #65 new
Alexey Muravyov created an issue

function checkBoxControlGroup use $name to generate 'for' label attribute. It is wrong way. We must check that 'for' attribute isn't set in labelOptions, and then check that attribute 'id' isn't set in htmlOptions.

public static function checkBoxControlGroup($name, $checked = false, $htmlOptions = array())

.... $labelOptions['for'] = parent::getIdByName($name);

Comments (0)

  1. Log in to comment