From 709a7a297d426aed6256f8aee76035505f8b3d0a Mon Sep 17 00:00:00 2001 From: Jonas Metzener Date: Thu, 25 Apr 2024 15:46:03 +0200 Subject: [PATCH] fix(form): validate table question every time the modal is closed --- packages/form/addon/components/cf-field/input/table.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/form/addon/components/cf-field/input/table.js b/packages/form/addon/components/cf-field/input/table.js index a93b4c3f1..75c517257 100644 --- a/packages/form/addon/components/cf-field/input/table.js +++ b/packages/form/addon/components/cf-field/input/table.js @@ -126,6 +126,8 @@ export default class CfFieldInputTableComponent extends Component { this.documentToEditIsNew = false; } + yield this.args.field.validate.perform(); + this.showAddModal = false; this.documentToEdit = null; }