in Umbraco Backoffice Login Form, i want to change autocomplete="off" to the form and the password input.
how to do so?
I tried to create a plugin to override the value
document.addEventListener("DOMContentLoaded", function () {
// Get the password input inside the login form
const passwordInput = document.querySelector("#umb-login-form input[type='password']");
if (passwordInput) {
// Disable autocomplete for the password input field
passwordInput.setAttribute("autocomplete", "off");
}
the plugin solution does not work even though the styles i added in the css file worked
Umbrco Backoffice Login
in Umbraco Backoffice Login Form, i want to change autocomplete="off" to the form and the password input.
how to do so?
I tried to create a plugin to override the value
}
the plugin solution does not work even though the styles i added in the css file worked
any insights?
is working on a reply...