Determines the type of the element and updates its value using shiny's update functions.
Arguments
- session
Current shiny session
- code_name
The code name of the UI element to update
- value
An atomic vector holding the desired value of the UI element. If NULL, the value of the element is not altered.
- clear_value
If set to TRUE, the value of the element is cleared (and any value supplied to value is ignored)
- ...
Additional arguments (such as label) to pass to Shiny's update- functions.