Skip to content

Commit 17585c8

Browse files
authored
fix: select with prefix hiding text
1 parent 3b413c7 commit 17585c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/FormControl.vue

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
v-if="type === 'select'"
99
:id="id"
1010
v-bind="{ ...controlAttrs, size }"
11+
:class="$slots.prefix ? 'pl-6' : ''"
1112
>
1213
<template #prefix v-if="$slots.prefix">
1314
<slot name="prefix" />

0 commit comments

Comments
 (0)