I can write a handler for multiple static sources:
observeEvent(list(input$surname, input$firstname), {
print(input$surname)
print(input$firstname)
})
What is the syntax, when I have a dynamic list generated from a database, something like (fails)
myfields = list("firstname", "surname")
observeEvent(input[[myfields]], ....)
And how do I find the input field(s) that actually changed in the handler?