fix selects

This commit is contained in:
Henry Jameson 2022-03-21 22:00:25 +02:00
parent 4cb14c257c
commit 7a17eb7fec
2 changed files with 4 additions and 8 deletions

View File

@ -8,12 +8,9 @@ library.add(
)
export default {
model: {
prop: 'value',
event: 'change'
},
emits: ['update:modelValue'],
props: [
'value',
'modelValue',
'disabled',
'unstyled',
'kind'

View File

@ -1,4 +1,3 @@
<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>