TbActiveForm::inputsList creates label inside label

Issue #214 new
Nikola Kovacs
created an issue

The default template is <label class="{labelCssClass}">{input}{label}</label>

{label} is replaced with CHtml::label($label, $htmlOptions['id'], $labelOptions);, i.e. another label tag.

label tags are not allowed inside label tags in Html5.

Comments (0)

  1. Log in to comment