Skip to content

Commit

Permalink
fix(form): validate table question every time the modal is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Apr 29, 2024
1 parent 3499615 commit 709a7a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/form/addon/components/cf-field/input/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 709a7a2

Please sign in to comment.