function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rasmus SikkRasmus Sikk 

lightning:inputField not displaying decimal numbers.

Hello Community!

I am using lightning component to override my "new" action on the custom object.
...
<lightning:recordEditForm ..>
     <lightning:inputField fieldName="customField"/>
...
The problem is, i have a custom field named: customField, it is a number(16,2) type (16 numbers long with 2 decimal places).
When i insert value to the field on my form, i get this error alert shown on the picture:
User-added image

When I remove the mouse from hovering, it rounds the number to 16. When I save record and look the detail page of the record, the number is correct 15.59.

Thanks in advance!