Is there a way to validate the input tag for time format 00:00:00 after exiting the field, rather than during user typing? Any suggestions on how to accomplish this?
<label for="operativeToTime">Operative to time</label>
<input name="operativeToTime"
ng-model="deviceDetails.operativeToTime"
type="text"
ng-pattern="/^(?:2[0-3]|[01][0-9]):[0-5][0-9]:[0-5][0-9]$/"
ng-required="true">
<div class="error-container" ng-show="editDeviceForm.operativeToTime.$invalid">
<span class="error" ng-show="editDeviceForm.operativeToTime.$error.required">Operative to time is required</span>
<span class="error" ng-show="editDeviceForm.operativeToTime.$invalid">+++++++++++++Wrong format</span>
</div>