sagalbot / vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.
https://vue-select.org
MIT License
4.62k stars 1.33k forks source link

Clear not working with :multiple option #1807

Open jmblueshield opened 7 months ago

jmblueshield commented 7 months ago

Describe the bug When you enter a search term in a drop down box and do not select anything when you click out of the box the box clears. This is the expected behavior and it is working.

But when you add the :multiple="true" option the box no longer clears.

Expected behavior When using the :multiple option the dropdown box should still clear when you enter a search term, do not select anything, and then click out of the box.

Screenshots class="select-max-width multi-select-code" :options-ref="{ options: procedureCodes, search: searchProcedureCodes }" label="code" :reduce="filter => filter.id" :multiple="true" data-qa-id="select-procedureCode"