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
anil Kumaranil Kumar 

Not able to select multiple picklist values using lightning:select in lightning Component

Hi All,

Lightning Ui namespace is deprecating soon hence we are migrating Ui namespace tags to lightning name space.  We have used below tag to select multi picklist values with Ui namespace. Now salesforce suggesting to use Use lightning:select or lightning:combobox .   

If we use lightning:select or lightning:combobox  not able to select multiple picklist values. Could anyone please help me on this.

I have tried using 
multiple="true"​​​​​​​ in lightning select tag but is not accepting. 

  <ui:inputSelect multiple="true" class="multiple" aura:id="InputSelectMultiple" change="{!c.onMultiSelectChange}">

            <ui:inputSelectOption text="Any"/>
            <ui:inputSelectOption text="Open"/>
            <ui:inputSelectOption text="Closed"/>
            <ui:inputSelectOption text="Closed Won"/>

Anil Kumar
VinayVinay (Salesforce Developers) 
Hi Anil,

Try using 'lightning:dualListbox' to show multi select picklist field values.

Kindly review below documentation.


Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Vinay Kumar