Topic: Calendar control addEvents method does not work (silently fails?)

Realmonitor Ltd priority asked 5 months ago

*Expected behavior*I would expect to add events to calendar

*Actual behavior*It does not work

*Resources (screenshots, code snippets etc.)*Snippet:

Realmonitor Ltd priority commented 5 months ago

At least I would expect a proper error message if something is incorrect with events payload.

Grzegorz Bujański staff answered 5 months ago

The events were not added because you entered an incorrect format for the start and end date of the event. You can find more about the format here:

Here you will find a fixed snippet that works:

I also recommend updating the calendar plugin to a newer version. In the last version, we improved the display of short events.

When it comes to returning information with errors - we've decided to not add error handling on our side. It would require adding many lines of code, which would significantly increase the size of our package. This would make the page loading slower. Which is of particular importance for mobile devices


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 4.1.0
  • Device: Laptop
  • Browser: Chrome latest
  • OS: Linux - Pop OS
  • Provided sample code: No
  • Provided link: Yes