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.

General Questions /

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

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

Problem With Floatingpoint Inputfields


Reply


267 Views

Avatar
Andre

Community Member, 126 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.