ICEfaces
  1. ICEfaces
  2. ICE-9702

ACE combobox does not submit full input text value if user do not leave focus before submitting the form

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Websphere, windows 7, all browsers
    • Assignee Priority:
      P2
    • Salesforce Case Reference:

      Description

      Using ace combobox, if I type in the input text field and submit the form using a command button without leaving focus, the value submitted is the type I entered minus the last character. It seems like the value submitted is a hidden input that get it's value copied on the keydown and onblur event. Therefore, the last character will not get stored in the hidden input if the user presses the command button without leaving focus first.

        Activity

        Hide
        Judy Guglielmin added a comment -

        to reproduce, go right to the demo and type in 'Salem', and click away from the combo box, it updates the input box to 'Sale'

        http://icefaces-showcase.icesoft.org/showcase.jsf;jsessionid=F71DC576227EFF0A589842A959A38D7E?grp=aceMenu&exp=comboBoxBean

        Show
        Judy Guglielmin added a comment - to reproduce, go right to the demo and type in 'Salem', and click away from the combo box, it updates the input box to 'Sale' http://icefaces-showcase.icesoft.org/showcase.jsf;jsessionid=F71DC576227EFF0A589842A959A38D7E?grp=aceMenu&exp=comboBoxBean
        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 40109 and to the 3.3 EE maintenance branch at revision 40110. Fixed by adding an onkeyup event to always copy the value in the text field to the hidden input.

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 40109 and to the 3.3 EE maintenance branch at revision 40110. Fixed by adding an onkeyup event to always copy the value in the text field to the hidden input.
        Hide
        Judy Guglielmin added a comment -

        Not specific to Websphere

        Show
        Judy Guglielmin added a comment - Not specific to Websphere
        Hide
        Carmen Cristurean added a comment -

        Fix verified with IF4 trunk / EE-3.3.0-maintenance rev# 40112, in FF27, IE10, Chrome33.

        Show
        Carmen Cristurean added a comment - Fix verified with IF4 trunk / EE-3.3.0-maintenance rev# 40112, in FF27, IE10, Chrome33.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Robin Hsu
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: