-
Notifications
You must be signed in to change notification settings - Fork 43
Description
I have the feeling that the JavaScript code for the collapsible parameter boxes is not correctly sending the state (open/closed) to Shiny, but unfortunately my JavaScript knowledge is not good enough to fully understand or fix the problem.
To reproduce, open any app, e.g.
iSEE(scuttle::mockSCE(), initial = list(FeatureAssayPlot()))
When checking the panel settings, I correctly see DataBoxOpen = FALSE. However, even after clicking to open the data parameter box, the panel settings still report DataBoxOpen = FALSE. Starting the app with an open data parameters box works fine (but again the panel settings don't change if I close it).
In the JavaScript console in my browser, I get errors of the following type (and a new error is added every time I attempt to open or close a collapsible box):
Error: Unexpected input value mode: '[object Object]'
at Oi (inputValidateDecorator.ts:16:13)
at Ot.setInput (inputValidateDecorator.ts:37:21)
at Co (bind.ts:45:12)
at HTMLDivElement.<anonymous> (bind.ts:290:11)
at HTMLDivElement.dispatch (jquery.js:5145:27)
at HTMLDivElement.<anonymous> (jquery.js:4949:28)
at Object.trigger (jquery.js:8629:12)
at HTMLDivElement.<anonymous> (jquery.js:8707:17)
at ce.each (jquery.js:383:19)
at ce.each (jquery.js:205:17)
This is with iSEE v2.21.1.