[ 
https://issues.apache.org/jira/browse/WICKET-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18086807#comment-18086807
 ] 

ASF subversion and git services commented on WICKET-7182:
---------------------------------------------------------

Commit d139e8e9fd62cb87eb4797a0630b5a69978fc6ae in wicket's branch 
refs/heads/wicket-10.x from Jacker
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=d139e8e9fd ]

[WICKET-7182] wrapped the fetched element with jQuery to use the event call on 
the autocomplete extension (#1477)

Co-authored-by: Jere Sjöroos <[email protected]>

> Wicket Autocomplete calls event on a non jquery object
> ------------------------------------------------------
>
>                 Key: WICKET-7182
>                 URL: https://issues.apache.org/jira/browse/WICKET-7182
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 10.8.0, 10.9.0, 10.9.1
>            Reporter: Jere
>            Priority: Minor
>         Attachments: image-2026-06-04-10-49-52-107.png
>
>
> The autocomplete script tries to call "{_}element.event('focus'){_}" while 
> the element is not a jQuery wrapper element instance. The event function is a 
> jQuery function that does not exist on elements fetched through the standard 
> "{_}document.getElementByid{_}" call.
> The script does wrap the other "{_}event{_}" call with 
> "{_}jQuery(element).event('...'){_}" but on the focus branch it does not.
> !image-2026-06-04-10-49-52-107.png|width=639,height=169!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to