Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

285
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda