Skip to content

Commit e7bf604

Browse files
authored
fix(input-date-picker): prevent console error when using a lang (#10162)
**Related Issue:** #9387 ## Summary - creates `dateTimeFormat` on connectedCallback to prevent console error from occurring.
1 parent de96c24 commit e7bf604

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/calcite-components/src/components/input-date-picker/input-date-picker.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ export class InputDatePicker
468468
connectedCallback(): void {
469469
connectInteractive(this);
470470
connectLocalized(this);
471+
this.handleDateTimeFormatChange();
471472

472473
const { open } = this;
473474
open && this.openHandler();

0 commit comments

Comments
 (0)