简体   繁体   中英

Is there a way to deselect date in Pikaday?

Is there a way to deselect selected by user day in Pikaday calendar?

I would like to get from this state

在此处输入图片说明

to the following one

在此处输入图片说明

您可以使用.setDate(null)将选择器日期设置为null,并将监听器附加到按文档中所述的按钮以清除所选日期。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM