I'm trying to set the selected values for the resourceFilter, it does set as i can log it in the console but only one resource is checked in the resources in the sidebar
It's as simple as calling deselectAll();select(<an array of ids>) as the API docs describe.
Thanks it does work as expected, but I am now facing new issues with approach, I am unable to deselect resources again or close a resource with the X button. What am I doing wrong?
You are right, it is indeed reselecting, i am selecting all when data changes because different resources are loaded for each date but it seems deselecting a resource emits a dataChange too. Is there a better way i can do it?