date-time-picker
date-time-picker copied to clipboard
How to show seconds in input field
Hey,
I use this in an angular form with ngModel and name. So when I add the [showSecondsTimer]="true" to the owl-date-time I can properly select the seconds of the datetime and the change is also reflected in the data. So far so good. However the input field where the owl-date-time component is attached to doesnt show the seconds value. So how do I also show the seconds value there? I already tried e.input.value += ":" + new Date(e.value).getSeconds(); in an dateTimeChange listener, but it doesnt change the visible value at all.
Hello, Bro. Did you solve that.
here is the way. I just try it, and got second show.