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