min = 0 fix on xp inputfield

This commit is contained in:
Jonas Drescher 2023-02-19 14:49:53 +01:00
parent eb18fdea46
commit a2a0056873

View File

@ -163,7 +163,7 @@
<td> <td>
<p-cellEditor> <p-cellEditor>
<ng-template pTemplate="input"> <ng-template pTemplate="input">
<input class="table-edit-input" pInputText type="number" [(ngModel)]="member.xp"> <input class="table-edit-input" pInputText type="number" min="0" [(ngModel)]="member.xp">
</ng-template> </ng-template>
<ng-template pTemplate="output"> <ng-template pTemplate="output">
{{member.xp}} {{member.xp}}