primeng icon indicating copy to clipboard operation
primeng copied to clipboard

inputnumber : "maxlength" property doesn't work

Open priyanhsu10 opened this issue 6 years ago • 2 comments

ngular version: 9.1.1 PrimeNG version: 9.1.0

Code Snippet : <p-inputNumber [(ngModel)]="inputValue" [maxlength]="maxlength" [formControl]="decimalControl" #inputcontrol [disabled]="isDisabled" >

currenntly managening by min max range calculation but it not the correct way to handle the length of input control

priyanhsu10 avatar Jun 28 '20 04:06 priyanhsu10

i have the same problem. My input with maxlength is not functioning

Do you understand that maxlength is not a valid input property for numeric input since it limits the number of characters?

andreyshedko avatar Mar 30 '21 14:03 andreyshedko