InputNumber on mobile works like textinput #10142
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a bug
Current behavior
Chrome Android
When trying to write something in a InputNumber the full keyboard is open, also the validation that on desktop is working fine do not seem to apply on mobile.
Expected behavior
the input should have -> inputmode="decimal" (now i created a directive that add this attribute on input)
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
In this way on mobile the number keyboard will be shown.
The same validation logic like on desktop should run when user is entering values in input.
Minimal reproduction of the problem with instructions
try to fill inputs in this page android chrome
https://primefaces.org/primeng/showcase/#/inputnumber
Angular version:
11.1.2
PrimeNG version:
11.3.2
Browser:
Android Chrome
The text was updated successfully, but these errors were encountered: