an edge case selectInput(choices = NULL)

firstChoice() may fail with an error "subscript out of bounds"