Reset sliders in RShiny
Clash Royale CLAN TAG #URR8PPP Reset sliders in RShiny I am new to shiny, and am making an app where a user adjusts 3 sliders. Output is the total change of the 3 sliders in % form, and the difference from the initial form. I added a 'reset' button so that I can change the sliders all back to 0, but it is not working. I tried looking R shiny: reset plot to default state, and Reset inputs with reactive app in shiny, to no avail. I tried a piece of code: observeEvent(input$reset,{ input$Var1=0 return(input$Var1) }) to adjust a single slider and set it to 0, then return this value, also to no avail. Any suggestions? My full code is : library(shiny) ui=fluidPage( titlePanel("Sum of Sliders"), fluidRow( column(2, sliderInput("Var1", "Slider1:", min = -100, max = 100, value = 0), sliderInput("Var2", "Slider2:", min = -100, ma...