requirements: when entering a password, the specific characters are displayed first; after input, all are displayed as asterisks (not from a security point of view, and password users do not know whether the input is correct or not, so it becomes *,
such as a-> *, aa- > * a > *, aaa- > * * a-> *) after 0.5s for experiential display. )
my idea: although the password is processed with "*", the background parameter transfer still needs the original data.
inputAtype= "hideen"
Bkey up"*"
problems in implementation: for example, delete keys, alt/shift and other keys will have bug,. Is there a more reasonable way to deal with them