I am having issues trying to set my date time picker from my controller object in angular.
here is my input object:
<input kendo-date-time-picker
style="width:100%;"
type="text"
k-options="ctrl.dateTimeOptions"
k-ng-model="ctrl.date" />
This is the object I have created for the options:
ctrl.dateTimeOptions = {
format: "'MM/dd/yyyy HH:mm'",
timeFormat: "'HH:mm'",
parseFormats: "['yyyy-MM-ddTHH:mm:ss']"
};
Is there something I have set up wrong?