Skip to content

Commit

Permalink
fixes in label and input
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadiducho committed Oct 30, 2024
1 parent d4fe352 commit 864781a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/lib/forms/PInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
v-if="label"
:for="name"
>
{{ name }}
{{ props.label }}
</p-label>
<input
:id="name"
Expand Down
2 changes: 1 addition & 1 deletion src/components/lib/forms/PLabel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="block tracking-wide text-gray-700 dark:text-gray-300 font-bold mb-2"
:for="props.name"
>
{{ props.label }}
<slot>{{ props.label }}</slot>
</label>
</template>

Expand Down

0 comments on commit 864781a

Please sign in to comment.