Skip to content

Commit

Permalink
fix: select with prefix hiding text
Browse files Browse the repository at this point in the history
  • Loading branch information
iamejaaz authored Oct 20, 2024
1 parent 3b413c7 commit 17585c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/FormControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
v-if="type === 'select'"
:id="id"
v-bind="{ ...controlAttrs, size }"
:class="$slots.prefix ? 'pl-6' : ''"
>
<template #prefix v-if="$slots.prefix">
<slot name="prefix" />
Expand Down

0 comments on commit 17585c8

Please sign in to comment.