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
AlsoDougAlsoDoug 

readOnly With SelectCheckBoxes Work For Anyone?

I have tried using readOnly on a selectCheckBoxes


IE

 

<apex:selectCheckboxes value="{!defaultValue}" readOnly="true"> <apex:selectOptions value="{!possiblevalues}"/> </apex:selectCheckboxes>

 

Doesn't appear to do anything.

 

Seems simple enough but no joy.

 

Work for anyone?

Best Answer chosen by Admin (Salesforce Developers) 
sforce2009sforce2009
Try using disabled property

All Answers

sforce2009sforce2009
Try using disabled property
This was selected as the best answer
AlsoDougAlsoDoug

disabled worked.

 

Thanks.