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

354
Vistas
kendo Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'min')

I have a problem on my kendo, when i tried to reload the page, it works properly but when I tried to reload multiple times i got an 2 error, please see the error below is this the limitation of kendo or there is something wrong with my code that causes the error?

i think the problem here is there is no validation that if min property is exist inn the page, i dont know how to put the validation.

var curdate = new Date();
$calendarPopup.find('[kendo="date-picker"]').kendoDatePicker({
    value: curdate,
    min: curdate,
    change: function (e) {
         if (this.value() > curdate) {
             $('[name="entry-start-time"]').data('kendoTimePicker').min('12:00 AM');
             $('[name="entry-start-time"]').data('kendoTimePicker').value(curdate);
         } else {
             $('[name="entry-start-time"]').data('kendoTimePicker').min(curdate);
             $('[name="entry-start-time"]').data('kendoTimePicker').value(curdate);
         }
     },
   });

   var date = $(`input[name='entry-start-date']`).data('kendoDatePicker');
       date.min(curdate); // this is where the error pointing out

   // DATETIME PICKER
   $calendarPopup.find('[name="entry-start-time"]').kendoTimePicker({
        value: new Date(),
             dateInput: false,
   });
   // DROPDOWN LIST
   $calendarPopup.find('[kendo="drop-down-list"]').kendoDropDownList();                
  }

I've got two error I saw on my console

enter image description here enter image description here

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