wireui / wireui

TallStack UI components
https://v1.wireui.dev
MIT License
1.37k stars 167 forks source link

View password in the password component #815

Open felipeArnold opened 5 months ago

felipeArnold commented 5 months ago

Describe the bug When clicking on the view password icon, two problems occur.

1st: The button being used submits the form. 2nd: When adding a type button or changing it to a div or span, the input cannot have the appropriate behavior. 3rd: When using more password components, I didn't even find a way to separate the component's state change with a prefix, for example: when adding 3 inputs for changing the password in the same component they can get lost and show the password of all 3 or none.

Screenshots or Videos Captura de tela de 2023-11-12 20-56-24 Captura de tela de 2023-11-12 20-56-57

Dependencies

Desktop (If applicable, please complete the following information):