Skip to content

Commit

Permalink
Fix secret input ui
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Jul 9, 2024
1 parent 5e7805a commit 3f970c8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions resources/js/Components/SecretInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() });
</script>

<template>
Expand Down

0 comments on commit 3f970c8

Please sign in to comment.