Fix label required
This commit is contained in:
parent
0934297698
commit
217e82bd44
|
@ -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