You need to sign in to do that
Don't have an account?
Niraj Kumar 9
Apex Select list is not working in salesforce1
Hi Guys,
Apex Select list is not working in salesforce1 while working fine in salesforce.
<apex:selectList value="{!selectedUser}" size="1" id="UsrSelLst">
Apex Select list is not working in salesforce1 while working fine in salesforce.
<apex:selectList value="{!selectedUser}" size="1" id="UsrSelLst">
apex:selectList
A list of options that allows users to select only one value or multiple values at a time, depending on the value of its multiselect attribute.
apex:selectOption
A possible value for an <apex:selectCheckboxes> or <apex:selectList> component. The <apex:selectOption> component must be a child of one of those components.
Check the below sample code:
Also, refer the below links:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_selectList.htm
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_selectOption.htm
Hope this helps you!
Best Regards,
Deepthi