+ Start a Discussion

How to Convert Multi-Select pick-list to Multi-Select check-boxes in lightning

Hi Folks,
Suppose here is my multi select checkbox :
    <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"
                             options="{! v.options }"
                             value="{! v.data }"
                             onchange="{! c.handleChange }"/>

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

Thaaanks for your heelp