Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5711

OnChangeAjaxBehavior should listen for both 'inputchange' and 'change' events for TextField and TextArea

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.17.0
    • Fix Version/s: 6.18.0, 7.0.0-M4
    • Component/s: wicket
    • Labels:
      None

      Description

      WICKET-5603 introduced a regression that a TextField using OnChangeAjaxBehavior doesn't work anymore when used as date picker, or Select2.
      The problem is that usually extensions like DatePicker and Select2 will fire 'change' event when they update the text input.

      OnChangeAjaxBehavior should use both 'inputchange" and "change" events for TextField and TextArea components.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mgrigorov Martin Tzvetanov Grigorov
                Reporter:
                mgrigorov Martin Tzvetanov Grigorov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: