From 871460632dc3c6f05c2d490cd2a5042718e957e6 Mon Sep 17 00:00:00 2001 From: Hanna Kurban Date: Wed, 10 Jul 2024 16:00:23 +0300 Subject: [PATCH] FIO-8638 fixed saving components after changing form display --- projects/angular-formio/manager/src/edit/edit.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/angular-formio/manager/src/edit/edit.component.ts b/projects/angular-formio/manager/src/edit/edit.component.ts index 0a212ac5..5a0417d2 100644 --- a/projects/angular-formio/manager/src/edit/edit.component.ts +++ b/projects/angular-formio/manager/src/edit/edit.component.ts @@ -71,6 +71,7 @@ export class FormManagerEditComponent implements AfterViewInit { this.form = _.cloneDeep(this.builder.formio.schema); this.form.title = this.formTitle.nativeElement.value.trim(); this.form.display = this.formType.nativeElement.value; + this.form.components = _.cloneDeep(this.builder.form.components); if (this.config.tag) { this.form.tags = this.form.tags || [];