diff --git a/src/app/components/pab-table/pab-table.component.html b/src/app/components/pab-table/pab-table.component.html index 733be4fb2015bf99083ad73652f473323cdeff42..561ff6c243551856d136adde0555561cdf13334a 100644 --- a/src/app/components/pab-table/pab-table.component.html +++ b/src/app/components/pab-table/pab-table.component.html @@ -88,7 +88,9 @@ <input matInput *ngIf="isNumberInput(cell)" type="text" required [ngModel]="getCellValue(cell)" (ngModelChange)="setCellValue(cell,$event)" - (input)="inputValueChanged($event, cell)" (keypress) ="invalidNANInputValue($event)"> + (input)="inputValueChanged($event, cell)" (keypress) ="invalidNANInputValue($event)" + pattern="^-?([0-9]*\.)?([0-9]+[Ee]-?)?[0-9]+$" inputmode="numeric" + > <mat-select #selectWidget *ngIf="isSelect(cell)" [value]="cell.modelValue" (selectionChange)="loiDebitSelected($event, cell)">