Hello
I have some problem with input with time type.
There is my view :
<div class="form-group">
<label class="control-label">Hour end</label>
<input type="time" id="hourend" name="input" ng-model="hourend" min="00:00"
max="23:59" required class="form-control" />
{{hourend | date: "HH:mm"}}
</div>
There is my controller :
angular.module('app').controller('registerController', ['$scope', '$http',
'$location', function ($scope, $http, $location) {
$scope.hourend = new Date(0, 0, 0, 14, 57);
When I go on the page, I see the correct value into the {{hourend | date:
"HH:mm"}} (14:57)
But when I change the value of my input, the text below disapear...
Do you know where I have make a mistake ?
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.