Skip to content
Snippets Groups Projects
Commit 9925e086 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

feat: make label optional in FormGroup

parent 1d3d9b3f
No related branches found
No related tags found
No related merge requests found
<template>
<div class="form-group tw-block" :class="formGroupClass">
<label
v-if="label"
:for="id"
class="tw-text-gray-500 tw-font-medium tw-pt-1 tw-flex tw-gap-2 tw-items-center"
>
......@@ -41,7 +42,7 @@ type Error = {
}
const props = defineProps<{
label: string
label?: string
customControl?: boolean
errors?: undefined | Error[]
withEditButton?: boolean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment