Block adding events in the past

So i want to block adding past events (any date before today).
I already checked the limit extension, but nothing seems to work even with using the same exact code in the docs.
Also, is it possible in some way that in the events :
that we can get the date and time where the mouse has been clicked.

is is not necessary to manually block mouse events, try using limit_start/limit_end configs: … onfig.html

Here is an example

That is what i said, i already tried the limit extension.
i used the configuration value of the limit_end … as you mentioned it in the docs, but it doesn’t work.

did you check a working example from my previous post? -
If the same code does not work in your version, or if you need something different - please attach a demo or clarify