We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d85870d commit 54a3db6Copy full SHA for 54a3db6
stubs/inertia/resources/js/Pages/Profile/DeleteUserForm.vue
@@ -88,15 +88,21 @@
88
89
methods: {
90
confirmUserDeletion() {
91
- this.confirmingUserDeletion = true
+ this.form.password = '';
92
+
93
+ this.confirmingUserDeletion = true;
94
95
+ setTimeout(() => {
96
+ this.$refs.password.focus()
97
+ }, 250)
98
},
99
100
deleteUser() {
101
this.form.post('/user', {
102
preserveScroll: true
103
}).then(response => {
104
if (! this.form.hasErrors()) {
- this.confirmingUserDeletion = false
105
+ this.confirmingUserDeletion = false;
106
}
107
})
108
0 commit comments