igTimePicker does not accepts date value
wnvko opened this issue · comments
Description
igTimePicker does not accepts date value, even the time portion of value is in the list of drop down values.
Steps to reproduce
-
Create igTimePicker like
var time = new Date(1,1,1,1,0,0,0);
$("#igTimePickerSelector").igTimePicker({
timeInputFormat: "hh:mm tt",
value: time
}); -
Open the page with igTimePicker.
Result
igTimePicker visualize empty and with warning message "Pick value for the drop-down list"
Expected result
igTimePicker should show 1:00 AM as its value