I Posted one question yesterday regarding custom validation for radio button Textfield Mandatory On Radio Button. I got answer. But, that was not exact answer. But, it solve
If you call error without options you supress error output
ActiveField error method
yii\widgets\ActiveField
public function error($options = [])
{
if ($options === false) {
$this->parts['{error}'] = '';
return $this;
}
$options = array_merge($this->errorOptions, $options);
$this->parts['{error}'] = Html::error($this->model, $this->attribute, $options);
return $this;
}
Your have to remove call error method into VIEW
= $form->field($model, 'CompanyName')->label('Company Name')->textInput() ?>