Hi,
Validations are not working correctly.
This is my html code :
<div class="form-group col-md-3">
<span>No. of Positions *</span>
<input type="number" min="1"id="vacancies" class="form-control" name="position" placeholder="9" data-ng-model="Job.Position" required >
<span ng-show="(formaddjob.position.$dirty || submitted) && (formaddjob.position.$error.required || !formaddjob.position.$valid)">
<span class="error" ng-show="formaddjob.position.$error.required">
Vacancies Required!
</span>
<span class="error" ng-show="formaddjob.position.$error.number || !formaddjob.position.$valid">
Not valid number!
</span>
</span>
</div>
Please give me help