Password form
I have a question where in the form, Password text input isn't showing the data for Password that is hashed in my database.
Solution:Jump to solution
Don't ever never display stored password in form, hide the field. If you want to update password, make another form which have current, new, confirm passwords and update it only.
8 Replies
what?
As you can see email input is shown in form but password isn't .
Solution
Don't ever never display stored password in form, hide the field. If you want to update password, make another form which have current, new, confirm passwords and update it only.
So basically password isn't supposed to be shown in forms right?
Yes unless it's new, you can use this as ref
Forms\Components\TextInput::make('password')
->label(__('password'))
->password()
->required()
->maxLength(255)
->hiddenOn(['edit', 'view'])
after that install this plugin https://github.com/jeffgreco13/filament-breezy
GitHub
GitHub - jeffgreco13/filament-breezy
Contribute to jeffgreco13/filament-breezy development by creating an account on GitHub.
Thank you for your help all appreciate.β€οΈ