Skip to content

Commit 485f520

Browse files
committed
docs(AppTextField): pass through all slots
1 parent cb5fc11 commit 485f520

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/docs/src/components/app/TextField.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@
77
prepend-inner-icon="mdi-magnify"
88
single-line
99
variant="outlined"
10-
/>
10+
>
11+
<template
12+
v-for="(slot, index) of Object.keys($slots)"
13+
#[slot]
14+
:key="index"
15+
>
16+
<slot :name="slot" />
17+
</template>
18+
</v-text-field>
1119
</template>
1220

1321
<script setup>

0 commit comments

Comments
 (0)