primeng icon indicating copy to clipboard operation
primeng copied to clipboard

inputnumber : "spinner button click submitting the form"

Open priyanhsu10 opened this issue 6 years ago • 0 comments

ngular version: 9.1.1 PrimeNG version: 9.1.0 Code Snippet : `<form [formGroup]="entityForm" novalidate role="form" (ngSubmit)="onCreateClick()">

<p-inputNumber [(ngModel)]="cohortId" mode="decimal" [showButtons]="true" > </p-inputNumber>

<button type="submit" [disabled]="!entityForm.valid" class="btn tc-modal-btn-right-save">save </button>

<button type="button" (click)="close()" class="btn tc-modal-btn-left-cancel">cancel </button> </form>`

underlying up and down buttons type should be "button" some how its "submit" now

priyanhsu10 avatar Jun 28 '20 05:06 priyanhsu10