diff --git a/src/components/editgrid/EditGrid.js b/src/components/editgrid/EditGrid.js index 317296f6f0..8c3e55294c 100644 --- a/src/components/editgrid/EditGrid.js +++ b/src/components/editgrid/EditGrid.js @@ -1222,9 +1222,12 @@ export default class EditGridComponent extends NestedArrayComponent { } } - if (!this.component.rowDrafts || this.root?.submitted) { + if (editRow.alerts && (!this.component.rowDrafts || this.root?.submitted)) { this.showRowErrorAlerts(editRow, editRow.errors); } + else if (editRow.errors?.length) { + this.setCustomValidity(editRow.errors, dirty); + } return editRow.errors; }