How disable date change ? #2657
Replies: 3 comments 2 replies
-
It's not elegant by any means but you could:
You would probably want to tweak CSS to change hover states and mouse pointers and such as well. |
Beta Was this translation helpful? Give feedback.
-
Problem if i have 100 datepickers - Full Destroy and Create calendar onclick is bad. Why dont work ths - $(".flatpickr-day").off() ??? I want disable all events for .flatpickr-day . All hovers and all clicks. p.s. I unminify flatpicker "ultra security protected" js file. and this is ... so crazy coded ))) |
Beta Was this translation helpful? Give feedback.
-
I found solution $('.flatpickr-day').bind('click mousedown dblclick',function(e){ |
Beta Was this translation helpful? Give feedback.
-
I want only show dates.
How disable date select onclick ?
This is dont work:
onChange:function() { return false; }
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions