inputNumber comma is not working in numeric keypad #393
-
I'm working with the Primefaces version 12.0.4. This is my faces-config file:
I had no problem with older version of PF. There is a way to make it works? |
Beta Was this translation helpful? Give feedback.
Answered by
melloware
Nov 6, 2023
Replies: 1 comment 9 replies
-
Are you using InputNumber? Where are you saying its "not working" ? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually it looks like you need to set http://autonumeric.org/guide#decimalCharacterAlternative which lets the Numeric Keypad work.
You can test it here: https://codepen.io/AnotherLinuxUser/pen/BaqJOVO?editors=1011
So on your inputNumber set
decimalSeparatorAlternative="."
and it should work.