This is an automated email from the ASF dual-hosted git repository. ankovalyshyn pushed a commit to branch DLAB-537 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-537 by this push: new b7d3df5 [DLAB-573]: fixed preemptible node validation b7d3df5 is described below commit b7d3df5dd3f56837cde5440dc294f11a63dc6d2f Author: Andriana Kovalyshyn <andriana_kovalys...@epam.com> AuthorDate: Wed Mar 27 13:50:11 2019 +0200 [DLAB-573]: fixed preemptible node validation --- .../computational-resource-create-dialog.component.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html index dffcb07..94f3367 100644 --- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html +++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.html @@ -99,12 +99,11 @@ <div *ngIf="preemptible?.nativeElement['checked']" class="control-group"> <label class="label">Preemptible node count</label> <div class="control"> - <input type="text" class="form-control" + <input type="text" class="form-control" formControlName="preemptible_instance_number" (keypress)="isNumberKey($event)" (keydown.arrowup)="preemptibleCounter($event, 'increment')" (keydown.arrowdown)="preemptibleCounter($event, 'decrement')" /> - <!-- <input type="number" class="form-control" min="{{minPreemptibleInstanceNumber}}" max="{{maxPreemptibleInstanceNumber}}" formControlName="preemptible_instance_number" (keypress)="isNumberKey($event)" /> --> <span class="danger_color" *ngIf="!resourceForm?.controls.preemptible_instance_number.valid"> <span *ngIf="minPreemptibleInstanceNumber !== maxPreemptibleInstanceNumber; else equal"> Only integer values greater than or equal to {{ minPreemptibleInstanceNumber }} and less than {{ maxPreemptibleInstanceNumber }} are allowed --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org