Merge pull request #6874 from beganovich/github-6843

Keep old input fields on registration
This commit is contained in:
David Bomba 2021-10-21 07:07:33 +11:00 committed by GitHub
commit 69b4b2465b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,7 @@
class="input w-full"
type="email"
name="{{ $field['key'] }}"
value="{{ old($field['key']) }}"
{{ $field['required'] ? 'required' : '' }} />
@elseif($field['key'] === 'password')
<input
@ -63,6 +64,7 @@
id="{{ $field['key'] }}"
class="input w-full"
name="{{ $field['key'] }}"
value="{{ old($field['key']) }}"
{{ $field['required'] ? 'required' : '' }} />
@endif