Skip to content
Snippets Groups Projects
Commit 7a17eb7f authored by HJ's avatar HJ :fire:
Browse files

fix selects

parent 4cb14c25
No related branches found
No related tags found
2 merge requests!1711Update stable - 2.5.0 release,!1385Migration to Vue 3 (again)
Pipeline #39410 failed
......@@ -8,12 +8,9 @@ library.add(
)
export default {
model: {
prop: 'value',
event: 'change'
},
emits: ['update:modelValue'],
props: [
'value',
'modelValue',
'disabled',
'unstyled',
'kind'
......
<template>
<label
class="Select input"
......@@ -6,8 +5,8 @@
>
<select
:disabled="disabled"
:value="value"
@change="$emit('change', $event.target.value)"
:value="modelValue"
@change="$emit('update:modelValue', $event.target.value)"
>
<slot />
</select>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment