Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Angularjs onchange datetime picker not working

<input mdc-datetime-picker date="false" time="true" type="text" id="time" short-time="true"
           placeholder="Time"
           min-date="minDate"
           format="hh:mm a"
           ng-model="time">


$scope.$watch('time', function() {
    alert('hey, time has changed!');
});
 
PREVIOUS NEXT
Tagged: #Angularjs #onchange #datetime #picker #working
ADD COMMENT
Topic
Name
1+1 =