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

352
Views
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
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!