Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputNumber: doesn't open numeric keyboard on mobile devices #3803

Closed
anenoglyadov opened this issue Mar 26, 2023 · 1 comment
Closed

InputNumber: doesn't open numeric keyboard on mobile devices #3803

anenoglyadov opened this issue Mar 26, 2023 · 1 comment

Comments

@anenoglyadov
Copy link

Describe the bug

When using InputNumber on mobile devices, it shows regular alphabetical keyboard. Since number input allows input only numbers, it should show numeric keyboard only.

Reproducer

https://primevue.org/inputnumber/

PrimeVue version

3.26.0

Vue version

3.x

Language

ALL

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

  1. Click on InputNumber component on mobile browser.
  2. Pay attention on type of keyboard opened.
  3. It shows alphabetical keyboard instead of numeric.

Expected behavior

Numeric only keyboard appeared

@anenoglyadov anenoglyadov added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 26, 2023
@mertsincan
Copy link
Member

Hi,
Please try :inputProps="{type: 'number'}".

Best Regards,

@tugcekucukoglu tugcekucukoglu removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants