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:
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.
Jump to solution
8 Replies
Vp
Vpβ€’9mo ago
what?
π’Ÿβ„°β„³π’ͺ𝒩
As you can see email input is shown in form but password isn't .
No description
Solution
Vp
Vpβ€’9mo ago
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?
Vp
Vpβ€’9mo ago
Yes unless it's new, you can use this as ref
Alnuaimi
Alnuaimiβ€’9mo ago
Forms\Components\TextInput::make('password') ->label(__('password')) ->password() ->required() ->maxLength(255) ->hiddenOn(['edit', 'view'])
Alnuaimi
Alnuaimiβ€’9mo ago
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.❀️
Want results from more Discord servers?
Add your server