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

I can see 2 things:

  • Your WrapperCriteria class has a Components attribute, whereas your JS Controller is using myObj.components (lower case). Be careful as JavaScript is case sensitive
  • This same Components attribute is a list of SelectOption which is not @AuraEnabled. You'll need to create your own SelectOption class as described here: @AuraEnabled Support for Apex Class Return Types?
Fabien Taillon
  • 8.7k
  • 2
  • 40
  • 60