Show/hide toggle for password field. #795
Replies: 2 comments
-
Certainly! If you have implemented a show/hide password button toggler on the login page using Laravel Backpack/Theme Tabler, you can apply a similar approach to add a show/hide toggle functionality to your password field. Assuming you have a form with a password input field, you can use JavaScript/jQuery to toggle the input type between "password" and "text" based on a button click. Here's a basic example using jQuery:
Adjust the IDs and classes according to your specific HTML structure. By implementing this approach, users will be able to show/hide the password in the password input field by clicking the designated button. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip @horgolzari98 . ChatGPT got it "almost" right. 😍 Indeed @karandatwani92 I don't see why we wouldn't add that functionality to the password field too. Very good suggestion and catch. 🙏 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We added Show/hide password button toggler on the login page.
Laravel-Backpack/theme-tabler#154
can we do the same to our password field?
Beta Was this translation helpful? Give feedback.
All reactions