NileshPatel17 / ng-multiselect-dropdown

Multiple Select Dropdown Component
https://nileshpatel17.github.io/ng-multiselect-dropdown/
323 stars 287 forks source link

Clear search box after dropdown closed #382

Open abhijithp opened 1 year ago

abhijithp commented 1 year ago

Angular version: "7.0.4"

ng-multiselect-dropdown version: "^0.3.9"

Description of issue: searched text is always persists in the field after dropdown close

Steps to reproduce:

  1. Click on any dropdownlist
  2. Input invalid/valid data in search field
  3. Click on dropdownlist again like step 1
  4. Observe the input data

Expected result: The input data should be removed from search field

Actual result: The input data still be kept as it is in the search field

https://stackblitz.com/edit/ng-multiselect-dropdown

image

abhijithp commented 1 year ago

@NileshPatel17 can i get some updates on the ticket please, Thank you.

ManuViola77 commented 6 months ago

I was trying to find if there is a way to add a clear search cross button in the input, but this is also an issue and it would be nice if the search clears after the dropdown is closed