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
VineetzVineetz 

Salesforce Multiselect picklist.

All right, I have worked on a rather complicated requirement, which needs me to add dynamic values (Contacts) to a multiselect picklist field.

The problem : When the user deselects the values inserted in the multiselect picklist field, the value gets deleted.

PS : these multiselect picklist values have been inserted into a multiselect picklist field via code (a trigger and controller).

Please do suggest any workaround for the same.
Is anyone working on a similar implementation ?
Offshore Freelance ConsultantOffshore Freelance Consultant
Hi,

https://github.com/metadaddy-sfdc/Visualforce-Multiselect-Picklist/blob/master/src/components/MultiselectPicklist.component

Hope this helps!

JG