feat: add revealable toggle to password field in career application form

This commit is contained in:
Ümit Tunç
2026-05-26 20:49:50 +03:00
parent bc59a32244
commit 92f14b2f4f
@@ -69,6 +69,7 @@ class CareerApplicationForm
TextInput::make('password')
->label('Şifre')
->password()
->revealable()
->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')