Bug when rendering textFieldRow

Create issue
Issue #64 resolved
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: {{{ #!php /* * Returns the container CSS class for the input. * @return 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