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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.17.0
    • 6.18.0, 7.0.0-M4
    • wicket
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: