Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

351
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda