ICEfaces
  1. ICEfaces
  2. ICE-3374

Add partialSubmit attribute to selectInputText

    Details

      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");

        Activity

        Philip Breau created issue -
        Philip Breau made changes -
        Field Original Value New Value
        Attachment ICE-3374.patch [ 11151 ]
        Tyler Johnson made changes -
        Salesforce Case [5007000000Guwgm]
        Ken Fyten made changes -
        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 ]
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        yip.ng made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        yip.ng made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        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.)]
        Ken Fyten made changes -
        Fix Version/s 2.1-Beta [ 10291 ]
        Fix Version/s 2.1 [ 10241 ]
        Ken Fyten made changes -
        Fix Version/s 3.0 [ 10241 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            yip.ng
            Reporter:
            Philip Breau
          • Votes:
            14 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: