Skip to content

Commit

Permalink
fix(date-picker): opening calendar on slug click (#17912)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariellalgilmore authored Nov 4, 2024
1 parent 8708f6d commit c9c20be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down

0 comments on commit c9c20be

Please sign in to comment.