Try to fix up password with respect to autofill

This commit is contained in:
nathangray 2020-07-28 10:39:09 -06:00
parent 4750db5a87
commit bd8b99f8c1
3 changed files with 4 additions and 4 deletions

View File

@ -240,7 +240,7 @@ var et2_password = /** @class */ (function (_super) {
"autocomplete": {
"name": "Autocomplete",
"type": "string",
"default": "Off",
"default": "off",
"description": "Whether or not browser should autocomplete that field: 'on', 'off', 'default' (use attribute from form). Default value is set to off."
},
"viewable": {

View File

@ -34,7 +34,7 @@ export class et2_password extends et2_textbox
"autocomplete": {
"name": "Autocomplete",
"type": "string",
"default": "Off",
"default": "off",
"description": "Whether or not browser should autocomplete that field: 'on', 'off', 'default' (use attribute from form). Default value is set to off."
},
"viewable": {

View File

@ -11,7 +11,7 @@
<rows>
<row>
<description value="Enter your new password"/>
<passwd id="n_passwd" class="et2_required" suggest="16"/>
<passwd id="n_passwd" class="et2_required" suggest="16" autocomplete="new-password"/>
</row>
<row>
<description value="Re-enter your password"/>
@ -71,7 +71,7 @@
<row>
<description value="Current password" for="password"/>
<hbox>
<passwd id="password" needed="true" autocomplete="off"/>
<passwd id="password" needed="true" autocomplete="current-password"/>
<description value=" "/>
<description value="You need to enter your password to make any security changes!"/>
</hbox>