Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1125 by
kenf...@gmail.com: value is not preselected with
sj:select and autocomplete=true
https://code.google.com/p/struts2-jquery/issues/detail?id=1125
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )
What steps will reproduce the problem?
1. Create a sj:select with a json call and autocomplete option set to true
<s:url id="institutionUrl" action="institution/jsongrid"/>
<sj:select
autocomplete="true"
selectBoxIcon="true"
label="Institution"
value="selectedInstitutionId"
title="Choose an institution"
href="%{institutionUrl}"
id="selectId"
name="institution"
list="gridModel"
listKey="id"
listValue="category"
reloadTopics="reloadInstitution"
/>
What is the expected output? What do you see instead?
The item represented by "selectedInstitutionId" is not preselected.
However, if I remove autocomplete="true", the list shows the preselected
item.
Which struts2 version?
2.3.16.3
Which struts2-jquery plugin version?
3.7.1
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings