diff --git a/resources/js/components/LoginForm.vue b/resources/js/components/LoginForm.vue
index 823314a..51c83c9 100644
--- a/resources/js/components/LoginForm.vue
+++ b/resources/js/components/LoginForm.vue
@@ -13,6 +13,7 @@ import {
FieldLabel,
} from '@/components/ui/field';
import { Input } from '@/components/ui/input';
+import { InputGroup, InputGroupInput, InputGroupAddon, InputGroupButton } from '@/components/ui/input-group';
import { formErrors } from '@/lib/form';
import { cn } from '@/lib/utils';
import FieldSeparator from './ui/field/FieldSeparator.vue';
@@ -75,27 +76,25 @@ function submit() {
Kata Sandi
-
-
+
-
-
-
+
+
+
+
+
+
+
import { Head, useForm } from '@inertiajs/vue3';
-import { Save } from '@lucide/vue';
+import { Save, Eye, EyeOff } from '@lucide/vue';
+import { ref } from 'vue';
import { toast } from 'vue-sonner';
import { Button } from '@/components/ui/button';
import { Card, CardContent } from '@/components/ui/card';
@@ -11,7 +12,7 @@ import {
FieldLabel,
FieldSet,
} from '@/components/ui/field';
-import { Input } from '@/components/ui/input';
+import { InputGroup, InputGroupInput, InputGroupAddon, InputGroupButton } from '@/components/ui/input-group';
import AccountLayout from '@/layouts/AccountLayout.vue';
import { formErrors } from '@/lib/form';
import type { PasswordFormData } from '@/types/account';
@@ -22,6 +23,10 @@ const form = useForm({
password_confirmation: '',
});
+const showCurrentPassword = ref(false);
+const showPassword = ref(false);
+const showPasswordConfirmation = ref(false);
+
function submit() {
form.put('/admin/account/password', {
onSuccess: () => {
@@ -49,8 +54,25 @@ function submit() {
Kata Sandi Saat Ini
-
+
+
+
+
+
+
+
+
+
@@ -58,8 +80,25 @@ function submit() {
Kata Sandi Baru
-
+
+
+
+
+
+
+
+
+
@@ -67,8 +106,25 @@ function submit() {
Konfirmasi Kata Sandi Baru
-
+
+
+
+
+
+
+
+
+