I have a numericInput that I currently populate as such
numericInput(ns("bootstrapSeedInput"), "Random seed", value = as.integer(runif(1, min = 0, max = 1000000))
Unfortunately the UI is generated only once, which means that even if I have multiple sessions, they all get the same value, until I restart the server.
I clearly have to use updateTextInput to set it in the server function, but I am not sure on what I should observe on. What I need is a lifetime event (ui shown) but I am not sure if they are available in Shiny.