Vue-select: no way to disable clear selection

Created on 8 Sep 2018  Â·  5Comments  Â·  Source: sagalbot/vue-select

Most helpful comment

@MidnightP clearable=false must be changed to :clearable=false otherwise it's passed as string "false".

All 5 comments

<v-select :clearable="false" />

The published docs don't have this option yet. Can you publish the latest docs to pages? Thanks

The clearable property does not work in my case. Running latest version.

Any idea?

vSelect(
    class="room-sm select select--secondary select--wide"
    :options="timezones"
    :value="timezone"
    clearable=false
    @input="timezoneChange"
)

@MidnightP clearable=false must be changed to :clearable=false otherwise it's passed as string "false".

Yep, my bad!

On Sat, 7 Dec 2019 at 18:57, Muhannad Ajjan notifications@github.com
wrote:

@MidnightP https://github.com/MidnightP clearable=false must be changed
to :clearable=false otherwise it's passed as string "false".

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sagalbot/vue-select/issues/636?email_source=notifications&email_token=AFL2SSX7J6LQ4DLBBTSBOJ3QXPPY7A5CNFSM4FT774HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGMBXA#issuecomment-562872540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFL2SSWTXZRMXHEMUDVJP5LQXPPY7ANCNFSM4FT774HA
.

Was this page helpful?
0 / 5 - 0 ratings