<label for={{ $id }}>
@if ($label)
{{ $label }}
@else
{{ $id }}
@endif
@if ($required)
*
<input id={{ $id }} type={{ $type }} wire:model.defer={{ $id }}>
</label>