Restricting User on ability to chose maximum items from selectInput

Viewed 2339

Shiny function selectInput() gives an option to select multiple items from the dropdown list with 'multiple = TRUE'

However I want to restrict user on how many items max can be chosen from underlying dropdown list.

Can you please suggest if that is possible with Shiny.

Appreciate for any pointer.

Thanks,

1 Answers
Related