fix: allow slots in link field
This commit is contained in:
parent
179c670b0b
commit
ac1a20ec46
@ -10,7 +10,23 @@
|
|||||||
:size="attrs.size || 'sm'"
|
:size="attrs.size || 'sm'"
|
||||||
:variant="attrs.variant"
|
:variant="attrs.variant"
|
||||||
:placeholder="attrs.placeholder"
|
:placeholder="attrs.placeholder"
|
||||||
/>
|
>
|
||||||
|
<template #target="{ open, togglePopover }">
|
||||||
|
<slot name="target" v-bind="{ open, togglePopover }" />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template #prefix>
|
||||||
|
<slot name="prefix" />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template #item-prefix="{ active, selected, option }">
|
||||||
|
<slot name="item-prefix" v-bind="{ active, selected, option }" />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template v-if="$slots.footer" #footer="{ value, close }">
|
||||||
|
<slot name="footer" v-bind="{ value, close }" />
|
||||||
|
</template>
|
||||||
|
</Autocomplete>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user