Skip to content

Commit

Permalink
fix(input-date-picker): prevent console error when using a lang (#10162)
Browse files Browse the repository at this point in the history
**Related Issue:** #9387

## Summary

- creates `dateTimeFormat` on connectedCallback to prevent console error
from occurring.
  • Loading branch information
driskull committed Aug 27, 2024
1 parent de96c24 commit e7bf604
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ export class InputDatePicker
connectedCallback(): void {
connectInteractive(this);
connectLocalized(this);
this.handleDateTimeFormatChange();

const { open } = this;
open && this.openHandler();
Expand Down

0 comments on commit e7bf604

Please sign in to comment.