IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics

Home Page:https://bit.ly/2kuu1fT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Create igTimePicker like
    var time = new Date(1,1,1,1,0,0,0);
    $("#igTimePickerSelector").igTimePicker({
    timeInputFormat: "hh:mm tt",
    value: time
    });

  2. 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