Closed cedricbouffard closed 1 month ago
I wonder if there's an encoding issue? I just copied your example into shinylive and it worked as expected. (I edited it lightly in that link but the direct copy works as well.)
I noticed that the error message appears to say
Error: `open` must be one of "desktop", "open", "closed", or "always", not "always".
which seems to indicate there's a difference between "always"
and "always"
?
Oh, actually I think I found the bug! I'm not sure which exact conditions produce the error, but I ran into it myself and know how to fix it :)
When passing a list to the open parameter in a sidebar, shinylive will display this error:![image](https://github.com/rstudio/bslib/assets/80600509/b41459d6-72ea-48fe-9cff-5d927b7eba47)
I tried with a named character vector, same problem.
Here's a sample code: