Can I make input fields dynamically change in Shiny based on other inputs?
问题 I have a Shiny app in R with several inputs (drop-downs and sliders). Initially they all have default values for when the app opens, using the "selected" parameter. But, i'm wondering if there is way to dynamically change the default value based on a certain input field. Example, if I have one input field that is a drop-down of countries and then I have one slider input of price for a pint of beer . As a default "Ireland" is selected from the countries list and the slider is defaulted to €5