Number formatting issue: numberDecimalSeparator and numberGroupingSeparator not applied for bigDecimalField

Hi everyone,

I’ve run into an issue with number formatting in Jmix and would like to know if anyone has faced (and solved) something similar.

In my message.properties, I’ve set the following:

numberDecimalSeparator=,
numberGroupingSeparator=\

Observed behavior:

  • When I use a textField bound to a numeric property, the formatting works as expected — decimal and grouping separators are applied correctly based on the configuration above.
  • However, when I use a bigDecimalField for the same type of data (e.g., a BigDecimal entity attribute), the formatting is not applied.

My questions:

  1. If not, how can I make bigDecimalField respect the numberDecimalSeparator and numberGroupingSeparator settings from message.properties?
  2. Is there a configuration or formatter binding I need to apply manually for bigDecimalField?

Any advice or code examples would be greatly appreciated.

Thanks in advance!

Hi @phamanhvu20031411

Did you check the properties of the BigDecimal Field ?
image

Perhaps you did define here something different ?

Regards

Hi @f.zehnder
I’m currently keeping the default Jmix settings

image

If I’ve already defined the decimal and grouping separators in message.properties, do I still need to explicitly set them again in the field’s properties?

Hi @phamanhvu20031411

Could you solve the problem or should I attach you a small project ?

Best regards
Felix