Skip to content

Commit fbcf149

Browse files
committed
Update Password.vue
1 parent c4ab030 commit fbcf149

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

resources/js/pages/settings/Password.vue

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ const currentPasswordInput = ref<HTMLInputElement | null>(null);
3636
:options="{
3737
preserveScroll: true,
3838
}"
39-
@error="
40-
(errors) => {
41-
if (errors.password && passwordInput) {
42-
passwordInput.focus();
43-
}
44-
45-
if (errors.current_password && currentPasswordInput) {
46-
currentPasswordInput.focus();
47-
}
48-
}
49-
"
5039
reset-on-success
5140
:reset-on-error="['password', 'password_confirmation', 'current_password']"
5241
class="space-y-6"

0 commit comments

Comments
 (0)