Skip to content

Commit

Permalink
avoid unnecessary opening when clicking
Browse files Browse the repository at this point in the history
The date picker is already opened on focus
  • Loading branch information
ulferts committed Dec 20, 2024
1 parent 03fa133 commit 89a780c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export class OpBasicSingleDatePickerComponent implements ControlValueAccessor, O
allowInput: true,
mode: 'single',
showMonths: 1,
clickOpens: false,
onReady: (_date:Date[], _datestr:string, instance:flatpickr.Instance) => {
instance.calendarContainer.classList.add('op-datepicker-modal--flatpickr-instance');
},
Expand Down

0 comments on commit 89a780c

Please sign in to comment.