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: Resolved
    • 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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: