Set the specified input fields to their default empty values.
Usage
reset_input_fields(session, fields_to_clear, exceptions = c(""))
Arguments
- session
The current Shiny session
- fields_to_clear
The names of the variables whose corresponding fields should be cleared
- exceptions
Optional vector of variable names which should not be cleared. This is useful if fields_to_clear is supplied with all variable names but there are a few that should not be cleared.