Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why error message is not shown
Message
 
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01640697
Message ID:
01640711
Views:
31
I tried to move the working control from another page to this one and now it also doesn't work - weird....
@using Siriusware.Resources;
<ng-form name="editPaDSSForm">
    <div class="form-horizontal">
        <div class="row">
            <div class="form-group">
                <div class="col-lg-3 col-md-6">
                    <div class="format-label">
                        <label class="control-label"
                               ng-hide="(form.editPaDSSForm.discPct.$error.max || form.editPaDSSForm.discPct.$error.min) && form.editPaDSSForm.discPct.$dirty">@Labels.percentage:</label>
                            <label class="field-validation-error control-label-error animate-show"
                                   ng-show="(form.editPaDSSForm.discPct.$error.max || form.editPaDSSForm.discPct.$error.min) && form.editPaDSSForm.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="currentPrefs.discPct" type="number"
                                   data-sm:number data-accuracy="0">
                            @*<span class="input-group-addon">%</span>*@
                        </div>
                    </div>  



                <div class="col-xs-6">
                    <div class="format-label">
                        <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>
                    </div>
                    <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>
What may be responsible for working / not working?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform