From ee98682265080aa3c93418a0a922f6c66a567a4a Mon Sep 17 00:00:00 2001 From: lucaQ Date: Sat, 6 Jan 2024 15:35:02 +0100 Subject: [PATCH] fix #14484 the initial load now respect the dateFormat when dataType is set to "string" --- src/app/components/calendar/calendar.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/calendar/calendar.ts b/src/app/components/calendar/calendar.ts index 212b61047cc..ca2ffeb9899 100755 --- a/src/app/components/calendar/calendar.ts +++ b/src/app/components/calendar/calendar.ts @@ -3008,7 +3008,9 @@ export class Calendar implements OnInit, OnDestroy, ControlValueAccessor { } } } - + if(this.dataType === 'string'){ + this.updateModel(value); + } this.updateInputfield(); this.updateUI(); this.cd.markForCheck();