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
RIteshMRIteshM 

How to make a selectoption active by default or at initialization

Hi,i build a multiple selectlist i want to show some items to be selected when the page renders initially  how to accomplish that any guidance ??

Sonali BhardwajSonali Bhardwaj
you must be binding your selectlist "value" with a list of string, just populate that list with watever you want to come as selected.