/** * @inheritdoc */ public function afterValidate() { if (!$this->dashboard->validate()) { $this->addError(null); } parent::afterValidate(); }