Use autocomplete="current-password"
<form>
<label for="user-password">Password:</label>
<input type="password" id="user-password" autocomplete="current-password" required>
</form>
Use autocomplete="new-password"
<form>
<label for="user-password">New password:</label>
<input type="password" id="user-password" autocomplete="new-password" required>
</form>