Clear password field in Node

How to clear the credentials field in UI at each edit of the node? I used autocomplete off. But it is not working.
My code snippet
<input type="password" id="node-input-password" placeholder="password" autocomplete="off">

Is it the correct way to do this?

Chrome makes it nearly impossible to do. They think they know best and refuse to follow the standards.