I have a kendo-datepicker in my page to insert date to table and this works fine
<kendo-datepicker [value]="paymentDate" [(ngModel)]="paymentDate"></kendo-datepicker>
I use the same web page to show the details of the saved record
this.paymentDate = response.paymentDate;
but when I assign the same value in the database to kendo-datepicker during the page load, I gives me the following error
The 'value' should be a valid JavaScript Date instance.
I tried to format the string but not successful.
 
                        
Initialize
paymentDatewith JavaScript'sDateobject.Checkout MDN to know furthur about
Dateobject.Note: I'm not sure the two way binding will work at this case or not. But the official documentation says that have
valueChangeevent that you can listen.Example:
In Template:
in Component: