My birthdate field was created by JQuery using datepicker function then the required field validation is handled by AngularJS using ng-show whenver I submit the form there is a error handling but when I choose date in the field the error message is not remove.
<input type="text name="birthdate" id="datepicker" ng-model="birthdate" readonly required >
<span id="errordate" ng-show="submitted && form.birthdate.$error.required">*required</span><br>
<script>
$function(){
$('#datepicker').datepicker();
});
</script>
Here is the form look at the birthdate field Please Help me thank you.