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
Surender_PatelSurender_Patel 

LIghtning:inputField not accepting null values for Currency type. Getting error that "cannot be parsed as a number, Value: null, Runtime class: java.lang.String"

Hi All,

When we are trying to removing value in currency field (using lightning:inputField ) and try to update, It's throwing above said error.

Please help. 
SandhyaSandhya (Salesforce Developers) 
Hi,

 Work around could be for this issue is to assign 0 default value to field.

Refer below link.

https://salesforce.stackexchange.com/questions/219506/lightninginputfield-wont-save-null-value-into-numeric-field
 
Best Regards,
Sandhya