Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

166
Views
React JS autoComplete ="off " not working ---Chrome

I tried all solutions suggested by community. But none of them is working in 2021. Tried

autoComplete ="off",
autoComplete ="nope"
autoComplete={'' + Math.random()}

Does anyone have a new solution? This is the input component I'm using

        <input
             autoComplete={'' + Math.random()}                
             key={name}
             value={value}
             onChange={onChange}
             className="input--custom"
             id={name}
             name={name}
             type={type}
       />
about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

You can use

autoComplete="new-password"

From the docs

If you are defining a user management page where a user can specify a new password for another person, and therefore you want to prevent autofilling of password fields, you can use autocomplete="new-password".

about 4 years ago · Juan Pablo Isaza Report

0

It is an open bug in the Chromium project, on which Chrome is based.

Also from MDN:

Note: In most modern browsers, setting autocomplete to "off" will not prevent a password manager from asking the user if they would like to save username and password information, or from automatically filling in those values in a site's login form.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!