function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NerdyNerdy 

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

Hi Folks,
Suppose here is my multi select checkbox :
<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;

Thaaanks for your heelp