Skip to content

Commit 1f9b1e6

Browse files
committed
fix: all label props in input are now also passed to the slot
1 parent f5ed2ea commit 1f9b1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/LibInput/LibInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
v-bind="{...extraAttrs.wrapperAttrs, class:undefined}"
1515
@blur="canOpen = false"
1616
>
17-
<slot name="label" v-bind="slotProps">
17+
<slot name="label" v-bind="{ ...slotProps, type:'top', disabled, readonly, label }">
1818
<lib-label v-if="label || $slots.default"
1919
:id="id"
2020
:type="'top'"

0 commit comments

Comments
 (0)