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')
|
->label('Şifre')
|
||||||
->password()
|
->password()
|
||||||
->revealable()
|
->revealable()
|
||||||
|
->formatStateUsing(fn () => null)
|
||||||
->dehydrateStateUsing(fn ($state) => filled($state) ? Hash::make($state) : null)
|
->dehydrateStateUsing(fn ($state) => filled($state) ? Hash::make($state) : null)
|
||||||
->dehydrated(fn ($state) => filled($state))
|
->dehydrated(fn ($state) => filled($state))
|
||||||
->placeholder('Şifreyi değiştirmek istemiyorsanız boş bırakın')
|
->placeholder('Şifreyi değiştirmek istemiyorsanız boş bırakın')
|
||||||
|
|||||||
Reference in New Issue
Block a user