-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
explicitly define updateSelectInput() instead of using the trick to c…
…hange the `options` argument of updateInputOptions()
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Should this choose the default selected item in the same way as
selectInput
?Update: @yihui pointed out that, from this function, we don't know if it's a multiple select or not, so we can't correctly choose a default selected item. So we can just leave it to the user to set selected items, or not.