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

126
Vistas
Autocomplete box with Datepicker without selecting dates

I have this, I need to be able to autocomplete the box with the date without the need to select anything. How could I do that?

jQuery('#start_date2').datepicker({
    format: '{{ $global->date_picker_format }}',
    autoclose: true,
    todayHighlight: true
}).on('changeDate', function (selected) {
    $('#due_date2').datepicker({
        format: '{{ $global->date_picker_format }}',
        autoclose: true,
        todayHighlight: true
    });
    var minDate = new Date(selected.date.valueOf());
    $('#due_date2').datepicker("update", minDate);
    $('#due_date2').datepicker('setStartDate', minDate);        
});

$(".select2").select2({
    formatNoMatches: function () {
        return "{{ __('messages.noRecordFound') }}";
    }
});
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js"></script>
<script src="//code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<link href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet"/>

<input type="text" name="start_date" id="start_date2" class="form-control" autocomplete="off"> 

about 4 years ago · Juan Pablo Isaza
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