Loading

Restricted Input for Currency Fields in Salesforce Lightning Experience

게시 일자: May 22, 2026
상세 설명
Currency fields in Classic accept a variety of inputs, including special characters such as $ and extra spaces.  During the Save transaction, these values are converted to a standard format.  Conversely, Lightning prevents the input of special characters and extra spaces.
솔루션

In the Salesforce Lightning Experience framework, Currency fields are considered to have an input type of "number." This field type is bound by HTML5 standards, which consider the $ symbol and spaces to be invalid input. Users should enter only plain numerical values in Currency fields when using Salesforce Lightning Experience. The currency symbol, code, or name is applied automatically upon Save

Component Reference: Formatted Number
Component Attributes: Input  (see section for 'Number')

Knowledge 기사 번호

000381176

 
로드 중
Salesforce Help | Article