You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the InputNumber component with a Suffix, if the user is on an Android device and they delete all the numbers, the first input will not enter the number but clears the input (removes the suffix) and triggers validation (if present). The user is required to enter the first digit again for it to update the input.
Remove all the numbers until only 'mi' is remaining
Try to enter a number
'mi' is cleared from the input and the number is not entered
Enter the number again
Number is now entered
Expected behavior
Behaviour should be as other variations of the component where the first input of a number in an empty field populates the field.
Behaviour is as expected on desktop browsers and iOS.
The text was updated successfully, but these errors were encountered:
melloware
changed the title
Input Number: Empty Field with Suffix Requires Double Entry on Android
InputNumber: Empty Field with Suffix Requires Double Entry on Android
Feb 4, 2025
Describe the bug
When using the InputNumber component with a Suffix, if the user is on an Android device and they delete all the numbers, the first input will not enter the number but clears the input (removes the suffix) and triggers validation (if present). The user is required to enter the first digit again for it to update the input.
Reproducer
PrimeReact Showcase InputNumber with Suffix - https://primereact.org/inputnumber/#prefixsuffix
System Information
Steps to reproduce the behavior
Expected behavior
Behaviour should be as other variations of the component where the first input of a number in an empty field populates the field.
Behaviour is as expected on desktop browsers and iOS.
The text was updated successfully, but these errors were encountered: