I want to display more than 1000 account names in one picklist using select option.<apex:selectList value="{!myAccountspicklist}" ><apex:selectOptions value="{!myaccounts}"/> </apex:selectList>public List<Account> getMyaccounts(){ List<Account> lstAccount = [select id,name from account]; return lstAccount; }
I want to display more than 1000 account name in one picklist field using selectOption. Earlyer I am able to display 20 name using above code but after inserting more than 1k it is throwing error.