You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AMP validation error The attribute '[type]' may not appear in tag 'INPUT [type=password]'.
How do we reproduce the issue?
I am creating a show / hide password button and if I set the input type to password, AND add the [type] amp-bind attribute, the AMP validator starts screaming with the above-mentioned error. If I set the input type to text, it works fine.
If the format of the AMP document is AMP4EMAIL, this is working as intended. We currently disallow input[type=password] as well as changing input[type] at runtime to prevent potential spam/cloaking.
Sure! https://codepen.io/Stefany93/pen/KjyryP?editors=1000 I made a button to hide / show password field.
I hope you won't disallow it, heh. The type is initially text which is actually better user experience than being initially password but I was wondering if it is a bug. It is working fine. Just not password to text
What's the issue?
AMP validation error
The attribute '[type]' may not appear in tag 'INPUT [type=password]'.
How do we reproduce the issue?
I am creating a show / hide password button and if I set the input type to
password
, AND add the[type]
amp-bind attribute, the AMP validator starts screaming with the above-mentioned error. If I set the input type to text, it works fine.Code:
Which AMP version is affected?
Version 1906191709480
The text was updated successfully, but these errors were encountered: