Add option to component to toggle search box

The search box isn't really needed for less complicated selects, so this includes the option to disable it.