This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Input[datetimeLocal] directive do not support changing second and millisecond.[version 1.3.0-beta.19] #8874
Closed
Description
If I write
<input type="datetime-local" step="1" ng-model="datetime">
or
<input type="datetime-local" step="0.001" ng-model="milli">
When changing the second
or millisecond
value of the input, angular can not parse the input's value, and will also throw an error in the console.
Online demo here: http://jsbin.com/yusapo/2/edit
Try changing second
or millisecond
of the input after setting appropriate values to year, month, day, hour and minute to some value other than 00
or 000
and see the console in DevTools.