Fix label required

This commit is contained in:
philipp lang 2024-10-17 22:24:58 +02:00
parent 845f646dd4
commit 501e786fb9
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">
{{ $slot }}
@if ($required)
<span x-if="required" class="text-red-800">&nbsp;*</span>
<span class="text-red-800">&nbsp;*</span>
@endif
</span>
HTML;