mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 09:50:33 +01:00
chore(SelectCustom): support by prop
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<Combobox
|
<Combobox
|
||||||
v-slot="{ open }"
|
v-slot="{ open }"
|
||||||
|
:by="by"
|
||||||
:model-value="modelValue"
|
:model-value="modelValue"
|
||||||
:multiple="multiple"
|
:multiple="multiple"
|
||||||
:nullable="nullable"
|
:nullable="nullable"
|
||||||
@@ -104,6 +105,10 @@ const props = defineProps({
|
|||||||
type: [String, Number, Object, Array],
|
type: [String, Number, Object, Array],
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
|
by: {
|
||||||
|
type: String,
|
||||||
|
default: undefined
|
||||||
|
},
|
||||||
options: {
|
options: {
|
||||||
type: Array as PropType<{ disabled?: boolean }[]>,
|
type: Array as PropType<{ disabled?: boolean }[]>,
|
||||||
default: () => []
|
default: () => []
|
||||||
|
|||||||
Reference in New Issue
Block a user