Skip to content

Commit

Permalink
Merge pull request #11 from OutSystems/fix-range-dates-with-disabled-…
Browse files Browse the repository at this point in the history
…dates

ROU-3898: Allows to select ranges including disabled days
  • Loading branch information
bmarcelino-fe authored Dec 19, 2023
2 parents 11dbbde + 296f6e1 commit 2348396
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2444,6 +2444,7 @@ function FlatpickrInstance(
function selectDate(e: MouseEvent | KeyboardEvent) {
e.preventDefault();
e.stopPropagation();
onMouseOver(getEventTarget(e) as DayElement);

const isSelectable = (day: Element) =>
day.classList &&
Expand Down

0 comments on commit 2348396

Please sign in to comment.