This commit is contained in:
nurmuhammet committed 2023-12-03 15:04:10 +05:00
1 parent 21aab6ca7d
commit b4521e6f24
3 files changed
+13 -3

No files matched your search

+8 -1
View File
@@ -49,7 +49,13 @@ class="form-control form-input form-input-bordered w-full"
{{ __('Verification code') }}
</label>
<input class="form-control form-input form-input-bordered w-full" id="verification" type="text" name="verification">
<input
class="form-control form-input form-input-bordered w-full"
id="verification"
type="text"
name="verification"
value=""
>
<span id="verification-error-box" class="text-red-500 text-italic error-box"></span>
</div>
@@ -87,6 +93,7 @@ class="form-control form-input form-input-bordered w-full"
const response = await postData(event.target.action, getFormData(event))
if (response.errors) {
console.log(response.errors);
loopObject(response.errors, item => addValidationClasses(item))
} else {
removeValidationClasess()