forked from AkkomaGang/akkoma-fe
fix selects
This commit is contained in:
parent
4cb14c257c
commit
7a17eb7fec
2 changed files with 4 additions and 8 deletions
|
@ -8,12 +8,9 @@ library.add(
|
|||
)
|
||||
|
||||
export default {
|
||||
model: {
|
||||
prop: 'value',
|
||||
event: 'change'
|
||||
},
|
||||
emits: ['update:modelValue'],
|
||||
props: [
|
||||
'value',
|
||||
'modelValue',
|
||||
'disabled',
|
||||
'unstyled',
|
||||
'kind'
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue