salim-lachdhaf / dropdown_search

Simple and robust Dropdown with item search feature, making it possible to use an offline item list or filtering URL for easy customization.
MIT License
346 stars 334 forks source link

Label text is always on top #674

Closed sunshine-ga closed 2 months ago

sunshine-ga commented 2 months ago

Is your feature request related to a problem? Please describe. Label is always on top, even if field is empty (nothing selected).

Describe the solution you'd like Label should fill field as it is for TextField when it is empty, and when item is seleced then should go up.

Additional context DropdownSearch label

salim-lachdhaf commented 2 months ago

could you paste a simple example for the issue ?

sunshine-ga commented 2 months ago

Sorry 🙈 It is my fault.... 🤦🏻‍♀️ for selected item I had empty string instead of null... Topic closed.