src/html/Field.php
public function render ($content = null)
		{
			// Custom error output.
			$errors = $this->model->getErrors($this->attribute);

			if (count($errors) == 0)
				$this->parts[ '{error}' ] = '';
			else
			{
				$class = isset($this->errorOptions[ 'class' ]) ? ' class="' . $this->errorOptions[ 'class' ] . '"' : '';
				$this->parts[ '{error}' ] = '<div' . $class . '><ul class="list-unstyled">';
				foreach ($errors as $e)
				{
					$this->parts[ '{error}' ] .= '<li>' . $e . '</li>';
				}
				$this->parts[ '{error}' ] .= '</ul></div>';
			}

			return parent::render($content);
		}
public function render ($content = null)
		{
			// Custom error output.
			$errors = $this->model->getErrors($this->attribute);

			if (count($errors) == 0)
				$this->parts[ '{error}' ] = '';
			else
			{
				$class = isset($this->errorOptions[ 'class' ]) ? ' class="' . $this->errorOptions[ 'class' ] . '"' : '';
				$this->parts[ '{error}' ] = '<div' . $class . '><ul class="list-unstyled">';
				foreach ($errors as $e)
				{
					$this->parts[ '{error}' ] .= '<li>' . $e . '</li>';
				}
				$this->parts[ '{error}' ] .= '</ul></div>';
			}

			return parent::render($content);
		}
public function render ( $ content = null ) { // Custom error output. $ errors = $ this -> model -> getErrors ( $ this -> attribute ) ; if ( count ( $ errors ) == 0 ) $ this -> parts [ '{error}' ] = '' ; else { $ class = isset ( $ this -> errorOptions [ 'class' ] ) ? ' class="' . $ this -> errorOptions [ 'class' ] . '"' : '' ; $ this -> parts [ '{error}' ] = '<div' . $ class . '><ul class="list-unstyled">' ; foreach ( $ errors as $ e ) { $ this -> parts [ '{error}' ] .= '<li>' . $ e . '</li>' ; } $ this -> parts [ '{error}' ] .= '</ul></div>' ; } return parent :: render ( $ content ) ; }
This function overrides error output. All errors are displayed.

@inheritdoc
This function overrides error output . All errors are displayed .