-
Notifications
You must be signed in to change notification settings - Fork 401
Description
Is your feature request related to a problem? Please describe.
I would like to show a placeholder in the input even if a user has selected a few items previously. Currently in the code here the code clears out the placeholder text if the length of the selected items is greater than zero.
But for e.g. The default placeholder text could be "Search for states..." when there is no state selected. Once a user has some state selected in the typeahead box, I may want to update the placeholder text to something like "Search for additional states"
Describe the solution you'd like
Provide an override prop that would always show the placeholder regardless whether the number of selected items is zero or not.
How is this solution useful to others?
Others may be able to also use the placeholder to provide more context to the users using the typeahead.
Describe alternatives you've considered
None.
Additional context
The feature would show up something like this
