Try to fix up password with respect to autofill

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

View File

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

View File

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

View File

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