[
https://issues.apache.org/jira/browse/WICKET-5711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-5711.
-------------------------------------
Resolution: Fixed
Fix Version/s: 7.0.0-M4
6.18.0
Fixed it by using both "inputchange" and "change" for text field and area. And
just "change" for everything else.
[~svenmeier] I like this approach better than the one with the warning in 6.x
and exception in 7.x because there is a way to support them without limitations.
Please reopen if you don't agree.
> OnChangeAjaxBehavior should listen for both 'inputchange' and 'change' events
> for TextField and TextArea
> --------------------------------------------------------------------------------------------------------
>
> Key: WICKET-5711
> URL: https://issues.apache.org/jira/browse/WICKET-5711
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.17.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 6.18.0, 7.0.0-M4
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)