fix: removed unused attributes for email field in customer form
This commit is contained in:
parent
feded70d8b
commit
38cb928d94
1 changed files with 3 additions and 6 deletions
|
|
@ -64,12 +64,9 @@
|
|||
@if (!in_array('email', $hideFields))
|
||||
<label for="info-email" @class(array_merge(['mb-3', Arr::first($columns)]))>{{ __('Email Address') }} *</label>
|
||||
<div @class(array_merge(['mb-3', Arr::last($columns)]))>
|
||||
<input class="form-control @if ($errors->has('email')) is-invalid @endif mx-auto" id="info-email" name="email"
|
||||
data-form-type="email" type="text" value="{{ old('email', $crmCustomer->email ?? null) }}"
|
||||
aria-label="{{ __('Email Address') }}" autocomplete="email" disabled />
|
||||
@foreach ($errors->get('email') as $message)
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@endforeach
|
||||
<input class="form-control mx-auto" id="info-email" name="email" data-form-type="email" type="text"
|
||||
value="{{ old('email', $crmCustomer->email ?? null) }}" aria-label="{{ __('Email Address') }}" autocomplete="email"
|
||||
disabled />
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue