Posted 10 December 2017, 8:05 pm EST
Hello,
What is the proper way to use control wj-input-time?
I try this:
<wj-input-time #duration
[(value)]="selectedItem.ProcessingDuration"
[format]="'hh:mm'"
[step]="15"
[isRequired]="false"
(valueChanged)="onProcessingDurationChanged(duration,$event)">
</wj-input-time>
onProcessingDurationChanged(s: wjcInput.InputDate, e: wjcCore.EventArgs) {
if (s.value)
this.selectedItem.ProcessingDuration = s.value;
}
But I am getting the error: ** Assertion failed in Wijmo: Date expected.
Any idea?
Best regards,
M