@php // Wee need this extra step to support models arrays. Ex: wire:model="emails.0" , wire:model="emails.1" $uuid = $uuid . $modelName() @endphp @if($label && !$inline) @endif @if($prefix || $suffix || $prepend || $append)
@endif @if($prefix || $prepend)
{{ $prepend ?? $prefix }}
@endif
@if($money)
@endif merge(['type' => 'text']) ->except($money ? 'wire:model' : '') ->class([ 'input input-primary w-full peer', 'pl-10' => ($icon), 'h-14' => ($inline), 'pt-3' => ($inline && $label), 'rounded-l-none' => $prefix || $prepend, 'rounded-r-none' => $suffix || $append, 'border border-dashed' => $attributes->has('readonly') && $attributes->get('readonly') == true, 'input-error' => $modelName() && $errors->has($modelName()) && !$omitError ]) }} /> @if($icon) @endif @if($clearable) @endif @if($iconRight) $clearable]) /> @endif @if($label && $inline) @endif @if($money) only('wire:model') }} />
@endif
@if($suffix || $append)
{{ $append ?? $suffix }}
@endif @if($prefix || $suffix || $prepend || $append)
@endif @if(!$omitError && $modelName()) @error($modelName())
{{ $message }}
@enderror @endif @if($hint)
{{ $hint }}
@endif