Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Problem With Floatingpoint Inputfields


Go to End


743 Views

Avatar
Andre

Community Member, 146 Posts

29 October 2013 at 11:24pm

Hi, there is an existing Bug on Floatinpoint Inputfields (Currency, Decimal, Float), regarding to a chosen language, that differs from the US Format of floating Point Numbers. When Language is set to en_US, the fields all work fine. When setto e.g german language, whcih has the comma as decimal delimiter and the dot as thousands delimiter, I'm not able, to input numbers. Neither 123.12 nor 123,12 works.

There is a bug, that seems to be set up for a longer time, but without response.

https://github.com/silverstripe/silverstripe-framework/issues/2050

If there is only code missing for this functionality, please let me know and I will try to ad my work to silverstripe too, but currently, I have no idea, how to solve this problem. I looked at all the formfields and fieldtypes, but without any success.