It seems that the NumberField doesn’t work with comma as separator, e.g. “123,10”.
This is essential, as most of continental Europe uses comma as decimal separator! And if I open the Numberfield in a POS UI extension on my Mobile phone, my keyboard only lets me input comma, not dot:
But as soon as I enter a comma, it immediately gets erased.
This happens because the NumberField is hard-coded to accept only dot (.) as the decimal separator, regardless of the user’s locale or keyboard settings.
On European keyboards, especially on mobile, the numeric keypad often provides only a comma. Since the field validation expects a dot, the comma is treated as invalid input and immediately stripped out.
This is a localization bug. The NumberField should respect the device or locale settings and allow comma as a decimal separator, or internally normalize comma to dot instead of rejecting the input.
Can anyone from Shopify please look into this / provide a fix?
Hi @Felix_Wu
I can confirm this is a platform bug and is on the teams radar to address as soon as possible. We’ll update here once a fix is shipped.