how to add variable to event reactive input id in shiny ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to add variable to event reactive input id in shiny ?

jumbo
observeEvent(input$insertBtn,{
   
 bins<<-as.character(paste0("input$bins",inx))
   print(paste("Logger a",aa))
   return(aa)
   
 })

 a2<-eventReactive(input[[bins]],{
   print(paste("logger bin",bins))
 )}