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