1. Christoffer Niska
  2. yii-bootstrap
Issue #215 new

inputsList does not create the input element that the label refers to

Nikola Kovacs
created an issue

checkBoxListRow etc. create a label with a for tag, but TbActiveForm::inputsList does not create an input element with that id. This results in invalid Html5

The solution is to put $this->labelOptions['for']=false; into TbInputHorizontal/Vertical::checkBoxList etc. before calling getLabel.

Comments (0)

  1. Log in to comment