Fix label required
This commit is contained in:
parent
4ccc4097d6
commit
3ec27b6707
|
@ -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"> *</span>
|
<span class="text-red-800"> *</span>
|
||||||
@endif
|
@endif
|
||||||
</span>
|
</span>
|
||||||
HTML;
|
HTML;
|
||||||
|
|
Loading…
Reference in New Issue