Fix label required

This commit is contained in:
philipp lang 2024-10-17 22:24:58 +02:00
parent 05fe99a2bb
commit 74d755ad47
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class Label extends Component
<span class="font-semibold leading-none text-gray-400 group-[.size-default]:text-sm group-[.size-sm]:text-xs"> <span class="font-semibold leading-none text-gray-400 group-[.size-default]:text-sm group-[.size-sm]:text-xs">
{{ $slot }} {{ $slot }}
@if ($required) @if ($required)
<span x-if="required" class="text-red-800">&nbsp;*</span> <span class="text-red-800">&nbsp;*</span>
@endif @endif
</span> </span>
HTML; HTML;