forked from extern/egroupware
Et2Password: Fix still forced autocomplete="new-password"
This commit is contained in:
parent
bac32f4bba
commit
ced2bc6061
@ -57,17 +57,7 @@ export class Et2Password extends Et2InvokerMixin(Et2Textbox)
|
||||
this.suggestPassword();
|
||||
};
|
||||
}
|
||||
|
||||
connectedCallback()
|
||||
{
|
||||
super.connectedCallback();
|
||||
this.autocomplete = "new-password";
|
||||
this.updateComplete.then(() =>
|
||||
{
|
||||
this.shadowRoot.querySelector("[type='password']").autocomplete = "new-password";
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
transformAttributes(attrs)
|
||||
{
|
||||
if(typeof attrs.suggest !== "undefined")
|
||||
|
Loading…
Reference in New Issue
Block a user