Right now, I'm using two inputs, one that is type="password" and the other type="text" and showing or hiding based on a variable that is set. The hidden input is disabled so it isn't submitted. I thought maybe I could simplify this using one input and binding the type like so...
dmx-bind:type="!varShowPassword.value?'password':'text'"
...but this doesn't seem to work. The two input method works fine, but gets a little awkward when setting the validation and having to check which field is being submitted.
Thanks,
Twitch