New answers tagged

2

It's impossible to send enum values to LWCs as is, which is one of many undocumented Salesforce developer limitations. Instead, you can build a controller method that turns the enum values into a map, for use on the front end. This is the code I ended up writing before others answered this question: // It's impossible to serve enums verbatim to the front end,...


Top 50 recent answers are included