I was trying to set
startParam option dynamically.
But it seems working weird by updating the key rather update value.
calendarEvents.setOption('startParam', moment().format()); calendarEvents.refetchEvents();
If I run the methods and check the form data, then the
startParam will be look like the following.
2021-02-15T19:09:13-07:00: 2021-01-01T00:00:00-07:00 end: 2030-01-01T00:00:00-07:00
I guess the
setOption method updates the key not value for the start params.
Why does this happen and how to fix this?