I am using struts2 autocompleter. When I click on the dropdown icon it gives all results. I have tried setting maxlength
& size
attributes but it doesnt work. Is there a way to limit the maximum number of values?? Or maybe add a scroll bar??
This is my autocompleter code :
<s:url id="myURL" action="AutoComplete"/>
<sj:select
id="autooo"
name="echo" selectBoxIcon="true"
label="Handle a List"
href="%{myURL}"
list="govAdvCaseList"
listValue="case_No"
listKey="case_id" maxlength="5"
autocomplete="true" size="5"
loadMinimumCount="4"
/>
Thanks In Advance :)