I made some changes:
<ng-form name="editPaDSSForm">
<div class="form-horizontal">
<div class="row">
<div class="form-group">
<div class="col-xs-6">
<label class="control-label"
ng-hide="(form.editPaDSSForm.maxDaysLocal.$error.max || form.editPaDSSForm.maxDaysLocal.$error.min) && form.editPaDSSForm.maxDaysLocal.$dirty"
title="@Messages.maxAgeLocalSalespoint">@Messages.maxAgeLocalSalespoint</label>
<label class="field-validation-error control-label-error animate-show"
ng-show="(form.editPaDSSForm.maxDaysLocal.$error.max || form.editPaDSSForm.maxDaysLocal.$error.min) && form.editPaDSSForm.maxDaysLocal.$dirty">
@String.Format(Messages.mustBeBetweenXandY, Messages.maxAgeLocalSalespoint, "1", "45")
</label>
<input type="number" name="maxDaysLocal"
id="maxDaysLocal"
min="1" max="45"
ng-model="currentPrefs.loclccdays"
class="form-control"
placeholder="0"
data-sm:number data-accuracy="0">
</div>
</div>
</div>
</div>
</ng-form>
The above is not working :(
And this works fine - do you see any difference?
<div class="col-lg-3 col-md-6">
<div class="format-label">
<label class="control-label"
ng-hide="(form.editSpecialGeneralForm.discPct.$error.max || form.editSpecialGeneralForm.discPct.$error.min) && form.editSpecialGeneralForm.discPct.$dirty">@Labels.percentage:</label>
<label class="field-validation-error control-label-error animate-show"
ng-show="(form.editSpecialGeneralForm.discPct.$error.max || form.editSpecialGeneralForm.discPct.$error.min) && form.editSpecialGeneralForm.discPct.$dirty">
@String.Format(Messages.dataRange, "-100", "100")
</label>
</div>
<div class="input-group">
<input class="form-control percent-icon" id="discPct" max="100" min="-100"
name="discPct"
placeholder="0"
ng-model="currentSpecial.discPct" type="number"
data-sm:number data-accuracy="0">
@*<span class="input-group-addon">%</span>*@
</div>
</div>
If it's not broken, fix it until it is.
My Blog