You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Client error console issue with dynamic bslib accordions #3945
Remove one letter from the "Displayed sections" panel, e.g. remove B.
Add the removed panel back.
Click the checkbox "Allow multiple panels to be open" to deselect the setting.
Observe the client error console: The following ID was repeated: "acc": 2 inputs
Kapture.2023-11-28.at.12.24.29.mp4
What's interesting is that adding the panel calls accordion_panel_insert(). Without this (e.g. if you skip step 3) the client error isn't displayed. Moreover, this error isn't shown when the accordion_panel_insert() happens, it's shown when input$multiple is toggled (step 4), which calls renderUI() to create an entirely new accordion(id = "acc").
Also, if you repeat steps 2 and 3 n times before toggling input$multiple, the client error will report n + 1 repeated "acc" input IDs.
Activity