ICEfaces
  1. ICEfaces
  2. ICE-11386

icecore:defaultAction preventing item selection in ace:autoCompleteEntry and ace:comboBox when pressing Enter

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any

      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

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Ken Fyten made changes -
        Fix Version/s 4.3 [ 13096 ]
        Arturo Zambrano made changes -
        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
        Arturo Zambrano made changes -
        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 ICE-11386 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
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/combobox/combobox.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/autocompleteentry/autocompleteentry.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/capture-submit.js
        Hide
        Arturo Zambrano added a comment -

        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.

        Show
        Arturo Zambrano added a comment - 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.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: