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
Dependencies
WireUI Version: 2.X.X
Laravel Version: 10.X.X
Alpine.js Version: 3.X.X
Livewire Version: 3.X.X
Lang: pt_BR
Desktop (If applicable, please complete the following information):
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
Dependencies
Desktop (If applicable, please complete the following information):