fix: clear password field state in intern application resource form

This commit is contained in:
Ümit Tunç
2026-06-10 20:44:09 +03:00
parent 793a843be7
commit efc6b911e7
@@ -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')