+ Start a Discussion
Nusha AhmadNusha Ahmad 

Unable to find action 'handleChange' on the controller of c:picklist_example Failing descriptor: {c:picklist_example}

picklist_example cmp
<aura:component >
    <aura:attribute name="selected" type="string" default="1"/>
    <lightning:select name="select1" label="How many tickets" value="{!v.selected}"  onchange="{!c.show}">
        <option value="">choose one..</option>
        <option value="1">one</option>
        <option value="2">two</option>
        <option value="3">three</option>
        
    </lightning:select>
    <br/><br/>
    
    <aura:attribute name="options" type="list" default="[{'label':'java','value':'ocjp'}
                                                        {'label':'sfdc','value':'admin'}
                                                        {'label':'aws','value':'aws01'}]"/>
    <aura:attribute name="value" type="list" default="option1"/>
    
           <lightning:checkboxGroup name="Checkbox Group"
                                 label="certifications"
                                 options="{!v.options}"
                                 value="{!v.value}"
                                 onchange="{!c.handleChange}"/>
    
</aura:component>

controller
({
    show : function(component, event, helper) {
        var result=event.getParam('value');
        alert(result);
        
    },
    handleChange: function (component, event) {
        alert(event.getParam('value'));
    }
})
Application
<aura:application extends="force.slds" >
    <c:picklist_example/>
    
</aura:application>
Best Answer chosen by Nusha Ahmad
Santosh Kumar 348Santosh Kumar 348
Hi Nusha,

Refer below link :

https://developer.salesforce.com/docs/component-library/bundle/lightning:select/documentation

If it helped then can you please mark it as the best answer so that it can be used by others in the future.
Regards,
Santosh