html5 - Input type time with angular.js -


According to the Docs input [time]:

Sufficient to use input type time Make it a date in OID, though it does not work as I expected.

  & lt; Input ng-model = "time" type = "time" placeholder = "hh: mm" minimum = "08:00" max = "17:00" required & gt;  

and

$ scope.time = new date ();

As a result, I want to see just HH: mm inside the input field.

There is a JSfield to play here:

I think you need at least angular 1.3.0 beta for this to work, as it seems it was started.

:

...

attributes

input : support type date, time , Date-time-local, month, week (,)
....


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -