>><input class="form-control percent-icon ng-not-empty ng-valid-min ng-valid-sm-number ng-dirty ng-valid-number ng-invalid ng-invalid-max ng-touched" >> id="discPct" max="100" min="-100" name="discPct" placeholder="0" ng-model="currentSpecial.discPct" type="number" >>data-sm:number="" data-accuracy="0" style="">>>
>><input type="number" name="maxDaysLocal" id="maxDaysLocal" sm-focus="" min="1" max="45" >> ng-model="currentPrefs.loclccdays" >>class="form-control ng-valid-min ng-valid-sm-number ng-not-empty ng-dirty ng-valid-number ng-invalid ng-invalid-max ng-touched" >>placeholder="0" data-sm:number="" data-accuracy="0" style="">Those look identical to me - apart from the obvious name/id and model changes. Look at the $error object for the input control in both cases.