Update data binding for `v-select` in `ButtonDropdown.vue`

`v-select` now makes use of `modelValue`/`update:modelValue` for two-way data binding. This is consistent with the Vue3 migration guide.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This commit is contained in:
Phillip Rak 2024-08-30 16:05:17 -07:00
parent 7ebfb1d940
commit 1121d73066
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ export default {
:clearable="false"
:close-on-select="closeOnSelect"
:filterable="false"
:value="buttonLabel"
:modelValue="buttonLabel"
:options="dropdownOptions"
:map-keydown="mappedKeys"
:get-option-key="
@ -191,7 +191,7 @@ export default {
:selectable="selectable"
@search:blur="onBlur"
@search:focus="onFocus"
@update:value="$emit('click-action', $event)"
@update:modelValue="$emit('click-action', $event)"
>
<template #no-options>
<slot name="no-options" />