Issue #64 resolved

Bug when rendering textFieldRow

Ivaylo Ushev
created an issue

When there are error in tabulat input clsss for error not applied to control-group.

I resolve this: Change a function getContainerCssClass in class BootInput. My function is: {{{


/* * Returns the container CSS class for the input. * PROGRAMMER string the CSS class. / protected function getContainerCssClass() { $attribute = $this->attribute; // get attribute name without square brackets (mainly used in tabular input) CHtml::resolveName($this->model, $attribute);

if ($this->model->hasErrors($attribute))
    return CHtml::$errorCss;
    return '';

} }}}

Comments (2)

  1. Log in to comment