[
https://issues.apache.org/jira/browse/WICKET-7182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18086809#comment-18086809
]
ASF subversion and git services commented on WICKET-7182:
---------------------------------------------------------
Commit e0e3417f5b14fe540de1cbd239e5523b71942c6e in wicket's branch
refs/heads/master from Jacker
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=e0e3417f5b ]
[WICKET-7182] wrapped the fetched element with jQuery to use the event call on
the autocomplete extension (#1478)
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)