@props(['disabled' => false]) @php $defaultEmailPlaceholder = 'mohammad.idr1998@gmail.com'; $inputType = strtolower((string) ($attributes->get('type') ?? '')); $resolvedPlaceholder = $attributes->has('placeholder') ? $attributes->get('placeholder') : ($inputType === 'email' ? $defaultEmailPlaceholder : null); $inputAttributes = [ 'class' => 'theme-ring-brand rounded-md shadow-sm', ]; if ($resolvedPlaceholder !== null) { $inputAttributes['placeholder'] = $resolvedPlaceholder; } @endphp merge($inputAttributes) }}>