I am trying to select an event from UI after unselecting it programmatically. Even though the event is shown as selected the change event is not getting triggered. Please see the code snippet for the same:
Steps to replicate:
1.Open the developer tools to see the console.log messages.
2. Click on any event.
3. Now click on button'Reset all'. This will unselect any selected events.
4. Now try to select the same event as in Step 2.
The event gets selected in UI, however no change event console.log is seen.
Note: The change event will be triggered when selecting any event other than the one selected in Step 2.
How do I fix this issue?