fix: clear password field state in intern application resource form
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user