By default, the dropdown will be shown if value yields results. There are use cases (#54) where an initial search value may be set without the intention of immediately showing the dropdown.
This backwards-compatible change adds a showDropdownOnFocus prop that will only show the dropdown if the search input is focused, regardless of whether the current value has results.
Closes #54
By default, the dropdown will be shown if
value
yields results. There are use cases (#54) where an initial search value may be set without the intention of immediately showing the dropdown.This backwards-compatible change adds a
showDropdownOnFocus
prop that will only show the dropdown if the search input is focused, regardless of whether the currentvalue
has results.