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
NumericField has a formatting error when using the CMS in at least the Swedish and Finnish locales. If you input a number greater than or equal to 1000, the next time the form is saved the number will be empty, or you will get a validation error. This seems to be caused by some problem with the php NumberFormatter and space as grouping separator. If you disable grouping in getFormatter, the problem is resolved:
Affected Version
4.11
Description
NumericField has a formatting error when using the CMS in at least the Swedish and Finnish locales. If you input a number greater than or equal to 1000, the next time the form is saved the number will be empty, or you will get a validation error. This seems to be caused by some problem with the php NumberFormatter and space as grouping separator. If you disable grouping in
getFormatter
, the problem is resolved:The general solution might be to disable number grouping for all locales that have space as the grouping symbol? Like so:
Steps to Reproduce
Switch to Swedish locale in the CMS, and try to store a number greater than or equal to 1000 multiple times in any NumericField.
The text was updated successfully, but these errors were encountered: