Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions resources/js/components/DeleteUser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import { Input } from '@/components/ui/input';
import { Label } from '@/components/ui/label';

const passwordInput = ref<HTMLInputElement | null>(null);
const passwordInput = ref<InstanceType<typeof Input> | null>(null);
</script>

<template>
Expand All @@ -39,7 +39,7 @@ const passwordInput = ref<HTMLInputElement | null>(null);
method="delete"
:action="route('profile.destroy')"
reset-on-success
@error="() => passwordInput?.focus()"
@error="() => passwordInput?.$el?.focus()"
:options="{
preserveScroll: true,
}"
Expand Down