Salesforce Fact #695 | getFieldDisplayValue in LWC
How do you access localized values for field values of record in LWC? We can use the getFieldDisplayValue module for the same.
In this example, we have added french translations for the Account Rating picklist field and we are getting the localized value based on user's language using getFieldDisplayValue.
Attached are the screenshots.
Comments
Post a Comment