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