Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.2
-
Fix Version/s: 4.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any
-
ICEsoft Forum Reference:
Description
The icecore:defaultAction component, when specified for the Enter key is preventing the selection of an item in the results list of ace:autoCompleteEntry and ace:comboBox, when such selection is done by pressing the Enter key on the highlighted item.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Arturo Zambrano [ artzambrano ] |
| ICEsoft Forum Reference | http://www.icesoft.org/JForum/posts/list/23374.page |
| Fix Version/s | 4.3 [ 13096 ] |
| Summary | icecore:defaultAction preventing item selection in ace:autoCompleteEntry when pressing Enter | icecore:defaultAction preventing item selection in ace:autoCompleteEntry and ace:comboBox when pressing Enter |
| Description | The icecore:defaultAction component, when specified for the Enter key is preventing the selection of an item in the results list of ace:autoCompleteEntry. |
The icecore:defaultAction component, when specified for the Enter key is preventing the selection of an item in the results list of ace:autoCompleteEntry and ace:comboBox, when such selection is done by pressing the Enter key on the highlighted item.
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #52434 | Mon May 07 16:59:16 MDT 2018 | art.zambrano | |
| Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
MODIFY
/icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
MODIFY
/icefaces4/trunk/icefaces/core/src/main/javascript/capture-submit.js
|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |

r52434: icecore:defaultAction, added check for a new preventDefaltAction flag to prevent the default action event listener from overriding the component's event listener; added this flag to ace:autoCompleteEntry and ace:comboBox only when the options list is active
Because the icecore:defaultAction event listener is always executed first (before the component's event listener), there was no other option but to introduce a new flag to prevent the default action functionality and apply it to the ace:autoCompleteEntry and ace:comboBox components when the options list is active and expecting a selection.