Hi,
In a Jmix 2.x project, is it possible to change the number of decimal places (NumberFormat) for a BigDecimal attribute at runtime?
We would like to solve the following case:
We have an entity in which there is a Quantity attribute of type BigDecimal and a reference to a Unit entity (e.g. piece, meter, kilogram, hour etc.) in which you can specify how many decimal places can be entered in the Quantity field for the given Unit. During editing, if the user changes the selected Unit, the format of the number that can be entered in the Quantity field should be changed accordingly.
Thanks,
Peter