From 9bbbc8193d9cd9e9e9d97bd1ab90f26cfc0aefaa Mon Sep 17 00:00:00 2001 From: Bartosz Sekula Date: Tue, 25 Mar 2025 17:30:40 +0100 Subject: [PATCH] AAE-33137 Asynchronous Form Enrichment does Not Populate Date Fields (#10746) * AAE-33137 Asynchronous Form Enrichment does Not Populate Date Fields * fix date time as well --- .../lib/form/components/widgets/date-time/date-time.widget.ts | 1 + .../src/lib/form/components/widgets/date/date-cloud.widget.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/core/src/lib/form/components/widgets/date-time/date-time.widget.ts b/lib/core/src/lib/form/components/widgets/date-time/date-time.widget.ts index 9d3c09b29b..7762387064 100644 --- a/lib/core/src/lib/form/components/widgets/date-time/date-time.widget.ts +++ b/lib/core/src/lib/form/components/widgets/date-time/date-time.widget.ts @@ -67,6 +67,7 @@ export class DateTimeWidgetComponent extends WidgetComponent implements OnInit, } updateReactiveFormControl(): void { + this.setFormControlValue(); this.updateFormControlState(); this.validateField(); } diff --git a/lib/process-services-cloud/src/lib/form/components/widgets/date/date-cloud.widget.ts b/lib/process-services-cloud/src/lib/form/components/widgets/date/date-cloud.widget.ts index ab09a5e2f9..2b2b50f602 100644 --- a/lib/process-services-cloud/src/lib/form/components/widgets/date/date-cloud.widget.ts +++ b/lib/process-services-cloud/src/lib/form/components/widgets/date/date-cloud.widget.ts @@ -87,6 +87,7 @@ export class DateCloudWidgetComponent extends WidgetComponent implements OnInit, } updateReactiveFormControl(): void { + this.setFormControlValue(); this.updateFormControlState(); this.validateField(); }