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

283
Views
Can I turn off autocomplete for a Pikaday component?

I have a Pikaday date-picker component and it has a list of suggested (previous) values covering the calendar when using Chrome. I've tried autocomplete='off' and autocomplete='new-password' and neither of them seem to fix the issue.

along these lines

<input type="text" class="js-date-picker" id="xyz" autocomplete="new-password" />

So looking at the comments so far either I have completely misunderstood the page that i was looking at (referenced by Liam in the comments) or I've not explained the issue properly.

So On Chrome autocomplete="off" is bypassed. I am getting something like this...

enter image description here

I wondered if the hint, which the referenced page implies would work for any input field, but which, generally all examples use for input of type password (for obvious reasons) autocomplete="new-password" might help. It hasn't helped, and for Chrome (specifically) out of Chrome, Chromium, Firefox & Safari I am still getting the unwanted behaviour.

Does anyone have any hints for what I should try next ?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Changing the type to date made it work. Obviously it added more work hiding the default calendar popup but that wasn't too tricky...

<input type="date" class="js-date-picker" id="xyz" autocomplete="new-password" />
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!