Skip to content

Commit

Permalink
IBX-8527: [Hide later] Error in console when typing the time (#1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasOsti authored Aug 1, 2024
1 parent 3680f12 commit 1dcbfc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class DateTimePicker {
flatpickrDate.setHours(value);
}

if (this.flatpickrConfig.minDate.getTime() > flatpickrDate.getTime()) {
if (this.flatpickrInstance.config.minDate?.getTime() > flatpickrDate.getTime()) {
return;
}

Expand Down

0 comments on commit 1dcbfc9

Please sign in to comment.