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.
Hey @Felix_Wu
This has still not been fixed but as a temporary workaround, could you set your device region to the United States? This will update the keyboard’s decimal separator to a period (.), which the app currently expects. Note: this may affect other regional settings, but it’s a quick fix until we resolve the underlying issue.
Well that’s not really a fix, I can’t force all of my users / merchants to switch their keyboard?
Hi @Felix_Wu
Totally agree, you can’t force users to change their keyboard settings, I was thinking this was related to a custom app used by one store. We’re digging into this issue more so for a full fix. Will update here when there’s more to share.