diff --git a/resources/js/Components/SecretInput.vue b/resources/js/Components/SecretInput.vue index f88541fb..2f12f48a 100644 --- a/resources/js/Components/SecretInput.vue +++ b/resources/js/Components/SecretInput.vue @@ -7,16 +7,9 @@ defineProps({ defineEmits(['update:modelValue']); -const input = ref(null); - -onMounted(() => { - if (input.value.hasAttribute('autofocus')) { - input.value.focus(); - } -}); const toggleShowPassword = ref(false); -defineExpose({ focus: () => input.value.focus() }); +