Skip to content

Commit

Permalink
fix: datepicker overwriting value (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoquiroz authored Oct 27, 2024
1 parent 153a9c9 commit 2ab9a76
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/datepicker/Datepicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
let isOpen: boolean = inline;
let inputElement: HTMLInputElement;
let currentMonth: Date = value || defaultDate || new Date();
currentMonth.setDate(1); // Set to first day of the month
let focusedDate: Date | null = null;
let calendarRef: HTMLDivElement;
Expand Down

0 comments on commit 2ab9a76

Please sign in to comment.