Skip to main content
1 of 2
Fabien Taillon
  • 8.7k
  • 2
  • 40
  • 60

This is because the standard SelectOption class doesn't have the @AuraEnabled annotation, you'll need to create your own SelectOption class.

You can find the whole answer here: @AuraEnabled Support for Apex Class Return Types?

Fabien Taillon
  • 8.7k
  • 2
  • 40
  • 60