I have a field:
<input type="text" name="DataNascimento" class="form-control data"
ng-model="EscolherCurso.DataNascimento" required ui-date-mask/>
I preferred to use jquery's datepicker. But when jQuery fills in the value, the angle does not perform the validation again.
I tried to use the datepicker event:
onSelect: function (dateText) {
$(this).val(dateText);
if ($(this).valid()) {
$(this).removeClass('invalid').addClass('success');
}
}
But it did not blow.