I am new to angular and unfortunately running into an issue.
I have the following input for a form:
<div class="form-group" ng-class="{'not-empty': mailingzip.value}">
<input type="number" name="mailingzip" ng-minlength="5" ng-maxlength="5" ng-model="mailingzip" class="inputfield form-control" id="mailingzip" required>
<label for="mailingzip" class="animated-label">Zip</label>
</div>
However, the class not-empty does not get applied to the div when there is an input.
When I change the input type to "text" however, it all works perfectly.
Is there a different attribute for input[number] which i will have to use?
Thanks for your help!!