function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:selectList value="{!selectedVal}"> <apex:selectOptions value="{!optionList}"/> </apex:selectList>
Can you please share the VF page ?
Thanks,
Govindaraj.S
<apex:pageBlockSectionItem labelStyle="vertical-align:middle;">
<apex:panelGrid columns="1">
<apex:outputLabel value="Category: " for="category2" styleClass="label"><span class ="required"></span></apex:outputLabel>
<select class="selectpicker" >
<apex:repeat value="{!wrapList}" var="category">
<option value="{!category.value}" class="{!category.helpText}">{!category.label}</option>
</apex:repeat>
</select>
<apex:inputField required="false" value="{!c.Sub_category__c }" styleClass="selectpicker" style="margin-left:9px;font-size:14px;color:#444;font-weight:300;"/>
</apex:panelGrid>
</apex:pageBlockSectionItem>
I think you are facing some markup issue with a select list. Please change your select option like below code.
Here is a blog will help you to create the dynamic select list. https://webkul.com/blog/how-to-create-dynamic-drop-down-in-visualforce-page/ (https://webkul.com/blog/how-to-create-dynamic-drop-down-in-visualforce-page/" target="_blank)