Would be useful to have more than 1 end Icon on a TextInputLayout.
My use case, I'm possibly a popular one, is having a password field with the "eye" end icon to hide and display the text, and also have an error icon.
Currently if we try to achieve this with the built in attributes:
app:endIconMode="password_toggle"
app:errorEnabled="true"
The TextInputLayout will display the "eye" icon, and once you trigger an error it will replace the "eye" icon with the error icon, removing the ability for the user to toggle the password visibility. So this feature request is to have a built in way to keep the error icon and the visiblity toggle icon.
I came here to file this bug and really think that this should be a bug instead of a feature request because whenever an error occurs, users wan't to see what went wrong and just replace the wrong input with new one instead of just removing the whole input text because they can't toggle the password and see what is wrong. This is expected behavior.
Most helpful comment
I came here to file this bug and really think that this should be a bug instead of a feature request because whenever an error occurs, users wan't to see what went wrong and just replace the wrong input with new one instead of just removing the whole input text because they can't toggle the password and see what is wrong. This is expected behavior.