Angular 1.2.23 is the version I am currently using, and I want to set an input field with type=date as required. Here is the code snippet I have:
<form name="form" novalidate>
<input id="date" name="date" type="date" required />
<span ng-show="form.date.$error.required">The date is required!</span>
</form>
I'm facing an issue where the span message is not appearing, any idea why?
In case input of type date is not supported in Angular 1.2.23, can you suggest a good alternative for validation purposes?