Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2515
DatePicker loses time change on dropdown of calendar
posted

I have a DatePicker defined as shown below to allow entering a time as well as a date. If I modify the time and then open the dropdown calendar, the time reverts back to whatever it was.

For example, if I programmatically set the datetime to 1/1/2016 3:00 PM, then change the time to 4:00 PM, as soon as I display the calendar the time changes back to 3:00 PM.

  $("#dte").igDatePicker({
     placeHolder: "Select Date...",
     readOnly: false,
     dateInputFormat: "dateTime",
     dateDisplayFormat: "dateTime",
     focusOnDropDownOpen: true,
     mode: "editable",
     required: true,
     value: null,
     tabIndex: 20,

  });