updateFileBrowserInput {psichomics} | R Documentation

## Change the value of a `fileBrowserInput()` on the client

### Description

Change the value of a `fileBrowserInput()` on the client

### Usage

    updateFileBrowserInput(session, id, ..., value = NULL, ask = FALSE)

### Arguments

`session` | Shiny session
`id` | Character: identifier
`...` | Additional arguments passed to `fileBrowser()`. Only used if `value = NULL`.
`value` | Character: file or directory path
`ask` | Boolean: ask user to pick a file using file browser?

### Details

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.

### Value

`NULL` (function is only used to modify the Shiny session's state or internal variables)

### Source

https://github.com/wleepang/shiny-directory-input

[Package psichomics version 1.16.0 Index]