fix on table-of-content validation - trigger on finalization
This commit is contained in:
parent
434a207ac3
commit
649e08a755
|
@ -1268,6 +1268,7 @@ export class DescriptionEditorComponent extends BaseEditor<DescriptionEditorMode
|
||||||
finalize() {
|
finalize() {
|
||||||
this.formService.removeAllBackEndErrors(this.formGroup);
|
this.formService.removeAllBackEndErrors(this.formGroup);
|
||||||
this.formService.touchAllFormFields(this.formGroup);
|
this.formService.touchAllFormFields(this.formGroup);
|
||||||
|
this.tocValidationService.validateForm();
|
||||||
if (!this.isFormValid()) {
|
if (!this.isFormValid()) {
|
||||||
this.dialog.open(FormValidationErrorsDialogComponent, {
|
this.dialog.open(FormValidationErrorsDialogComponent, {
|
||||||
data: {
|
data: {
|
||||||
|
|
Loading…
Reference in New Issue