From efc6b911e7b998db3645dead0aaa0b6f4e93e2c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Wed, 10 Jun 2026 20:44:09 +0300 Subject: [PATCH] fix: clear password field state in intern application resource form --- .../Resources/InternApplications/InternApplicationResource.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Filament/Admin/Resources/InternApplications/InternApplicationResource.php b/app/Filament/Admin/Resources/InternApplications/InternApplicationResource.php index 26db41e..50b804b 100644 --- a/app/Filament/Admin/Resources/InternApplications/InternApplicationResource.php +++ b/app/Filament/Admin/Resources/InternApplications/InternApplicationResource.php @@ -114,6 +114,7 @@ class InternApplicationResource extends Resource ->label('Şifre') ->password() ->revealable() + ->formatStateUsing(fn () => null) ->dehydrateStateUsing(fn ($state) => filled($state) ? Hash::make($state) : null) ->dehydrated(fn ($state) => filled($state)) ->placeholder('Şifreyi değiştirmek istemiyorsanız boş bırakın')