Details
- 
        Type:
 Improvement
            
         - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Fixed
 - 
            Affects Version/s: 1.7.1
 - 
            Fix Version/s: EE-1.8.2.GA_P03, 2.1-Beta, 3.0, EE-2.0.0.GA_P01
 - 
            Component/s: ICE-Components
 - 
            Labels:None
 - 
            Environment:n/a
 
- 
                        Assignee Priority:P1
 - 
                        ICEsoft Forum Reference:
 - 
                        Affects:Documentation (User Guide, Ref. Guide, etc.)
 
Description
                    Currently, when an item from the drop down is selected the selectInputText fires a full submit event. This makes it difficult to use the component in a form with other required input components, as the full submit will fire the required validation for the other components.
suggested fix:
### Eclipse Workspace Patch 1.0
#P ICEfaces-ossrepo
Index: bridge/lib/extras/autocomplete_ext.js
===================================================================
--- bridge/lib/extras/autocomplete_ext.js (revision 17263)
+++ bridge/lib/extras/autocomplete_ext.js (working copy)
@@ -591,8 +591,8 @@
var form = Ice.util.findForm(this.element);
// form.focus_hidden_field.value=this.element.id;
if (isEnterKey) {
- Ice.Autocompleter.logger.debug("Sending submit");
- iceSubmit(form, this.element, event);
+ Ice.Autocompleter.logger.debug("Sending partial submit for enter key");
+ iceSubmitPartial(form, this.element, event);
}
else {
Ice.Autocompleter.logger.debug("Sending partial submit");
            
suggested fix:
### Eclipse Workspace Patch 1.0
#P ICEfaces-ossrepo
Index: bridge/lib/extras/autocomplete_ext.js
===================================================================
--- bridge/lib/extras/autocomplete_ext.js (revision 17263)
+++ bridge/lib/extras/autocomplete_ext.js (working copy)
@@ -591,8 +591,8 @@
var form = Ice.util.findForm(this.element);
// form.focus_hidden_field.value=this.element.id;
if (isEnterKey) {
- Ice.Autocompleter.logger.debug("Sending submit");
- iceSubmit(form, this.element, event);
+ Ice.Autocompleter.logger.debug("Sending partial submit for enter key");
+ iceSubmitPartial(form, this.element, event);
}
else {
Ice.Autocompleter.logger.debug("Sending partial submit");
Activity
- All
 - Comments
 - History
 - Activity
 - Remote Attachments
 - Subversion
 
| Field | Original Value | New Value | 
|---|---|---|
| Attachment | ICE-3374.patch [ 11151 ] | 
| Salesforce Case | [5007000000Guwgm] | 
| Fix Version/s | EE-1.8.2.GA_P03 [ 10251 ] | |
| Fix Version/s | EE-2.0.0.GA_P01 [ 10271 ] | |
| Fix Version/s | 2.1 [ 10241 ] | |
| Assignee Priority | P1 | |
| Assignee | yip.ng [ yip.ng ] | 
| Status | Open [ 1 ] | Resolved [ 5 ] | 
| Resolution | Fixed [ 1 ] | 
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] | 
| Status | Reopened [ 4 ] | Resolved [ 5 ] | 
| Resolution | Fixed [ 1 ] | 
| Summary | selectInputText should use a partialSubmit rather than a submit event on item selection | Add partialSubmit attribute to selectInputText | 
| Issue Type | Bug [ 1 ] | Improvement [ 4 ] | 
| Affects | [Documentation (User Guide, Ref. Guide, etc.)] | 
| Fix Version/s | 2.1-Beta [ 10291 ] | |
| Fix Version/s | 2.1 [ 10241 ] | 
| Fix Version/s | 3.0 [ 10241 ] | 
| Status | Resolved [ 5 ] | Closed [ 6 ] |