Vue-select: No way clear selected item when only one is allowed

Created on 12 May 2017  路  2Comments  路  Source: sagalbot/vue-select

vue-js v2.3.3
vue-select v2.2.0

<!-- multiple selection not allowed -->
<v-select              label="name"
                            :debounce="250"
                            :on-search="getCategories"
                            :on-change="onChangeParent"
                            :options="searchedCategories"
                            placeholder="Search category">
                  </v-select>

screenshot from 2017-05-12 10-28-35
As you can see in screenshot there is no close button to clear the select box. Once item has been selected there no way to undo.

But if multiple selection are allowed then it shows close button next to each selected item.
screenshot from 2017-05-12 10-32-46

P.S: Backspace does clear the selection, but it would be nice to have a visible clear button

feature request

Most helpful comment

Agreed! This is on the roadmap: add 'x' clear button. Going to close this for now but I'll let you know when it's complete.

All 2 comments

Agreed! This is on the roadmap: add 'x' clear button. Going to close this for now but I'll let you know when it's complete.

Agree To, how to clear 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

twz915 picture twz915  路  3Comments

edalzell picture edalzell  路  3Comments

pud1m picture pud1m  路  3Comments

manjunath-coachthem picture manjunath-coachthem  路  3Comments

rafalolszewski94 picture rafalolszewski94  路  3Comments