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
When initializing or updating a virtualSelectInput with multiple = TRUE, I am unable to pass a named list to the selected argument.
The choices argument works properly (initially and on update), but the input renders with no options selected (though I pass in the identical named list as the choices argument)
Here is my code, you can see I change the subset passed to choices to make sure it's updating. However, the input initializes with no options selected. I tried using named lists instead of vectors as well to no avail.
I managed to get it working with the modified code below. It only works if you unname() the "selected" argument. Running unname() works on both named and unnamed lists so should be an easy fix. Just submitted a pull request.
When initializing or updating a virtualSelectInput with multiple = TRUE, I am unable to pass a named list to the selected argument.
The choices argument works properly (initially and on update), but the input renders with no options selected (though I pass in the identical named list as the choices argument)
Here is my code, you can see I change the subset passed to choices to make sure it's updating. However, the input initializes with no options selected. I tried using named lists instead of vectors as well to no avail.
The text was updated successfully, but these errors were encountered: