How to create a editable selection list

Hi,

I would like to include in my shiny app a UI element which would allow users to:

  1. select from a list of predefined items AND
  2. type in a new item if necessary.

selectInput is the obvious choice to address #1 but the field does not allow user input (ie #2)

Is there a solution?