updateFileBrowserInput {psichomics} | R Documentation |
Change the value of a fileBrowserInput on the client
updateFileBrowserInput(session, id, ..., value = NULL)
session |
Shiny session |
id |
Character: input identifier |
... |
Additional arguments passed to |
value |
Character: file or directory path |
Sends a message to the client, telling it to change the value of the input
object. For fileBrowserInput
objects, this changes the value displayed
in the text-field and triggers a client-side change event. A directory
selection dialogue is not displayed.
NULL (this function is used to modify the Shiny session's state)
Original code by wleepang: https://github.com/wleepang/shiny-directory-input