Error emitting when IgxDatePicker value property is initialized with empty string. #3021
Closed
Description
Description
The IgxDatePicker allows the value
property to call getHours
/getMinutes
/getSeconds
/getMilliseconds
when it is initialized with an empty string.
Steps to reproduce
Bind the value
property of IgxDatePicker with an empty string and click on the IgxDatePicker to set Date
Result
When you click on the Calendar an error is thrown -this.value.getHours is not a function
and the Date is not set.
Expected result
The Date should be set.