Reveal/mask password on press and hold & release
I have created a password input and used dynamic panels to allow the user to toggle between the masked and revealed versions. One panel has the input password field and one has a text field. They are both populated by and populate a variable. There is a show/hide icon that switches panels. This works great - on tap.
But what I want to do is use a press and hold event - this works to reveal the password but I want on release for the masked version to be shown again. There is no 'on release press and hold' event and therefore no way to get from the revealed version back to the masked version. Is there any other way to do this?