feat: add revealable toggle to password field in career application form
This commit is contained in:
@@ -69,6 +69,7 @@ class CareerApplicationForm
|
|||||||
TextInput::make('password')
|
TextInput::make('password')
|
||||||
->label('Şifre')
|
->label('Şifre')
|
||||||
->password()
|
->password()
|
||||||
|
->revealable()
|
||||||
->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