Skip to content

Commit

Permalink
fix primefaces#14484 the initial load now respect the dateFormat when…
Browse files Browse the repository at this point in the history
… dataType is set to "string"
  • Loading branch information
HeavyRainLQ committed Jan 6, 2024
1 parent 357d636 commit ee98682
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ee98682

Please sign in to comment.