I had to disable autocomplete recently, neither autocomplete="false" or autocomplete="off" worked. MDN (source below) indicates using "new-password, but in my experience passing in any random string to the autocomplete attribute did work.
https://developer.mozilla.org/en-US/docs/Web/Security/Securi...