Skip to content

Commit

Permalink
selecting disabled dates bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dilandoogan committed Jun 25, 2024
1 parent 8e64712 commit 6e7ac56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/calendar/bl-calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ export default class BlCalendar extends LitElement {
size="small"
class=${classes}
?disabled=${isDisabledDay}
@click="${() => this.handleDate(date)}"
@click="${() => !isDisabledDay && this.handleDate(date)}"
>
${date.getDate()}
</bl-button>
Expand Down

0 comments on commit 6e7ac56

Please sign in to comment.