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
DhrumitDhrumit 

mutipick list is not working in lightning

Hi All, 

I am currently trying to apply slds in my current vf page to make this vf page work in both classic and lightning. But when I apply slds (lightningstylesheet={! !isClassic}) this multipicklist behave like as below.


This is how multipick list looks like in classic
Multipick list in classic

This is how multipick list looks like in lightning
User-added image
Raj VakatiRaj Vakati
You need to use SLDS styles ... 

https://salesforce.stackexchange.com/questions/204222/lightning-styling-of-multi-picklist-in-visualforce-page

https://github.com/JitenJoysar/Multiselect-Picklist-Example/blob/master/Pages/MultiSelectPicklistDemo.html
bhanu_prakashbhanu_prakash
HI Jack,
Mark as best answer, If it resloves !!
you need to move them into slds if lighting = true use Dueling picklist 
https://www.lightningdesignsystem.com/components/dueling-picklist/ (http://​https://www.lightningdesignsystem.com/components/dueling-picklist/)
Mark as resloved if it helps :) :)
Thanks, 
Bhanu Prakash
visit ForceLearn.com
 
DhrumitDhrumit

@Raj and @bhanu: Thank you for your response.

I have custom multipick list field created for this. How can I extract all those multipicklist options from there ? Also, I have options dependent on another field as well.