From c9c20be38a4dd64cd70d7a0c3f93624a5ff61ceb Mon Sep 17 00:00:00 2001 From: Ariella Gilmore Date: Mon, 4 Nov 2024 10:07:26 -0800 Subject: [PATCH] fix(date-picker): opening calendar on slug click (#17912) --- .../web-components/src/components/date-picker/date-picker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-components/src/components/date-picker/date-picker.ts b/packages/web-components/src/components/date-picker/date-picker.ts index bb126d59ea6c..6d10ec1a3809 100644 --- a/packages/web-components/src/components/date-picker/date-picker.ts +++ b/packages/web-components/src/components/date-picker/date-picker.ts @@ -286,7 +286,7 @@ class CDSDatePicker extends HostListenerMixin(FormMixin(LitElement)) { // which means Flatpickr will never be instantiated in "simple" mode. if (dateInteractNode && dateInteractNode.input) { this.calendar = flatpickr( - dateInteractNode as any, + dateInteractNode.input as any, this._datePickerOptions ); }