mirror of https://github.com/rancher/dashboard.git
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:
parent
7ebfb1d940
commit
1121d73066
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue