Skip to content
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
xieranmaya opened this issue Sep 1, 2014 · 0 comments

Comments

@xieranmaya
Copy link
Contributor

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.

@xieranmaya xieranmaya changed the title Why does input[dateTimeLocal] directive do not support millisecond? Input[datetimeLocal] directive do not support changing second and millisecond. Sep 1, 2014
@xieranmaya xieranmaya changed the title Input[datetimeLocal] directive do not support changing second and millisecond. Input[datetimeLocal] directive do not support changing second and millisecond.[version 1.3.0-beta.19] Sep 1, 2014
@btford btford self-assigned this Sep 2, 2014
@btford btford added this to the 1.3.0 milestone Sep 2, 2014
@tbosch tbosch modified the milestones: 1.3.0-rc.1, 1.3.0 Sep 3, 2014
@jeffbcross jeffbcross modified the milestones: 1.3.0-rc.1, 1.3.0-rc.2 Sep 9, 2014
@tbosch tbosch modified the milestones: 1.3.0-rc.2, 1.3.0-rc.3 Sep 15, 2014
@jeffbcross jeffbcross modified the milestones: 1.3.0-rc.3, 1.3.0-rc.4 Sep 22, 2014
@btford btford closed this as completed in 4b83f6c Sep 22, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants