Do anyone have idea on how to pass the date to the date picker for updating a form
I thought of passing the date along with the following code
let selectedDate = '24/11/2017';
this.datePicker.show({
date: selectedDate,
mode: 'date',
minDate: new Date(),
})
but it showing that selectedDate is not defined, any suggestions/fixes for this..
Thanks in advance guys
Do anyone have idea on how to pass the date to the date picker for updating a form
I thought of passing the date along with the following code let selectedDate = '24/11/2017'; this.datePicker.show({ date: selectedDate, mode: 'date', minDate: new Date(), }) but it showing that selectedDate is not defined, any suggestions/fixes for this.. Thanks in advance guys