MCDatepicker icon indicating copy to clipboard operation
MCDatepicker copied to clipboard

How to prevent autoclose?

Open A973C opened this issue 3 years ago • 2 comments

Hi,

I would like to let the calendar open on date double-click. I've set

autoClose: false

parameter but nothing change: the calendar is still closing on double-click.

A973C avatar Sep 09 '21 09:09 A973C

The autoClose parameter only seems to work to stop the datepicker closing on a single click of a date. The closeOndblclick option will stop the datepicker window closing on doubling clicking a date if it is set to false, but it doesn't then select that date until the window is manually closed, is that behaviour you want?

ashenshugarRET avatar Sep 09 '21 17:09 ashenshugarRET

No this is not the expected behaviour. I want to let the calendar always open and I hide buttons. So on click (or double-click) on a day is a call for action (js function, ...).

A973C avatar Sep 10 '21 04:09 A973C