Salesforce Fact #678 | List in AuraEnabled methods
AuraEnabled methods cannot return of type List<SelectOption>. So, one of the option is to create a custom SelectOption class and return the data.
Reference: https://developer.salesforce.com/forums/?id=9062I000000IN7YQAW
Attached is the screenshot.
Comments
Post a Comment