These functions are particularly useful when the options of an input are determined in some way by another input. For example, if a continent was one input and a country the other, the options of the latter would be restricted by the selection of the first.
In order to use input updates, the Shiny server needs to be initialized with an additional session argument. This means that the following should not be the starting line:
Instead of the preceding code, this must be the starting line:
Session is an optional parameter that can be included in the Shiny server function calls. This creates an object of the session class that keeps track of certain session ...