diff --git a/api/js/etemplate/Et2Textbox/Et2Password.ts b/api/js/etemplate/Et2Textbox/Et2Password.ts index 600e88aed4..7db20bb879 100644 --- a/api/js/etemplate/Et2Textbox/Et2Password.ts +++ b/api/js/etemplate/Et2Textbox/Et2Password.ts @@ -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")