I am using full-calendar to achieve multi-select dates and add some text on selected text, I am using 'selectable' feature but for some reason when I click 'ctrl' key, I am not getting any callback.
My goal is as a user I should be able to select multiple dates using ctrl and shift key.
should be able to select/unselect the same day.
Asked
Active
Viewed 872 times
1

Deepak K
- 329
- 3
- 11
-
https://fullcalendar.io/docs/v3/select-method. https://stackoverflow.com/questions/6806271/javascript-check-if-ctrl-button-was-pressed. you can check if ctrl is pressed and select. – Madhawa Priyashantha Apr 25 '19 at 09:03
-
@MadhawaPriyashantha, I know I can check the CTRL, but issue is fullcalendar library is returning false or preventing click after CTRL press. – Deepak K May 08 '19 at 03:46
-
Did you ever find out how to do that ? Because I have exactly the same problem :/ – stadja Aug 19 '19 at 11:18
-
@stadja I was not able to do it, so I am using ALT key instead of CTRL. – Deepak K Sep 03 '19 at 04:06
-
Yes right now it's not possible... but once this pull request will be merged it should work: https://github.com/fullcalendar/fullcalendar/pull/4385 – stadja Sep 04 '19 at 08:53
-
finally merged the above pull request manually to give a temporary fix and it's working. – Deepak K Jan 15 '20 at 06:46