+ Start a Discussion
NerdyNerdy 

Bind Lightning Checkbox group with Multi-Select picklist

Hi Folks,
Suppose here is my Checkbox group
<aura:component>
    <aura:attribute name="options" type="List" default="[
    {'label': 'apple', 'value': 'applie'},
    {'label': 'orange', 'value': 'orange'}
    {'label': 'banana', 'value': 'banana'}
    {'label': 'grape', 'value': 'grape'}
    ]"/>

    <aura:attribute name="data" type="List" />

    <lightning:checkboxGroup name="Fruit"
                             label="Fruit"
                             options="{! v.options }"
                             value="{! v.data }"
                             onchange="{! c.handleChange }"/>
</aura:component>

How Can i update my  multiselect picklist when user checks some values of the checkbox group;

Any help would be appreciated