@php // We need this extra step to support models arrays. Ex: wire:model="emails.0" , wire:model="emails.1" $uuid = $uuid . $modelName() @endphp
{{-- STANDARD LABEL --}} @if($label && !$inline) {{ $label }} @if($attributes->get('required')) * @endif @endif {{-- ERROR --}} @if(!$omitError && $errors->has($errorFieldName())) @foreach($errors->get($errorFieldName()) as $message) @foreach(Arr::wrap($message) as $line)
{{ $line }}
@break($firstErrorOnly) @endforeach @break($firstErrorOnly) @endforeach @endif {{-- HINT --}} @if($hint)
{{ $hint }}
@endif