Is there a way to continuously listen to system's time and set the min time for the timepicker. I did try to create a function :
getMin () {
return new Date()
}
min = 'getMin()' -- property
In angular. But it just doesn't even render the timepicker. Infact it slows down my application
1 Answer, 1 is accepted
0
Dimitar
Telerik team
answered on 26 Feb 2020, 03:08 PM
Hello Tanmaya,
Binding the min property to a function would result in setting the corresponding property on each change detection cycle on the page. This is unneeded an it could indeed result in performance issues as well.
An alternative is to set the min only on specific events - e.g. when the component is focused, or when the popup opens. Refer to this example.
Let me know if this would work for you.
Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.