p-inputotp: Integer Only attribute is not working on mobile #17100
Labels
Resolution: Help Wanted
Issue or pull request requires extra help and feedback
Milestone
Describe the bug
I have this code on my angular component:
<p-inputotp variant="filled" [integerOnly]="true" [length]="6" [mask]="true" (onChange)="updatePinInput($event.value)" />
When the component is rendered on mobile browser the user is able to type alphabetic characters.
I have followed the doc example https://primeng.org/inputotp#integeronly but is not working
Environment
Angular 18.2.11 with PrimeNG 18
Reproducer
No response
Angular version
18.2.11
PrimeNG version
18.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
22.11.0
Browser(s)
All mobile browser
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: