I can see 2 things:
- Your
WrapperCriteria
class has aComponents
attribute, whereas your JS Controller is usingmyObj.components
(lower case). Be careful as JavaScript is case sensitive - This same
Components
attribute is a list ofSelectOption
which is not@AuraEnabled
. You'll need to create your own SelectOption class as described here: @AuraEnabled Support for Apex Class Return Types?@AuraEnabled Support for Apex Class Return Types?