Skip to content

Commit

Permalink
Merge pull request #15199 from primefaces/issue-15195
Browse files Browse the repository at this point in the history
Fixed #15195 - InputOtp | integerOnly= true => no response to the num…
  • Loading branch information
cetincakiroglu authored Mar 29, 2024
2 parents 44564e2 + 1c347bc commit d93855a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/inputotp/inputotp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class InputOtp implements AfterContentInit {
value: any;

get inputMode(): string {
return this.integerOnly ? 'number' : 'text';
return this.integerOnly ? 'numeric' : 'text';
}

get inputType(): string {
Expand Down

0 comments on commit d93855a

Please sign in to comment.