@php $dataBirthDate = [ 'id' => 'register-birth_date', 'class' => 'form-control mx-auto ' . ($errors->has('birth_date') ? 'is-invalid' : ''), 'name' => 'birth_date', 'placeholder' => Str::ucfirst(__('validation.attributes.date_of_birth')), 'autocomplete' => 'bday', 'required' => !empty($required), 'value' => old('birth_date', $crmCustomer->birth_date ?? null), ]; @endphp
@foreach ($errors->get('birth_date') as $message)
{{ $message }}
@endforeach