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

ASF GitHub Bot commented on WICKET-7182:
----------------------------------------

jackeri opened a new pull request, #1478:
URL: https://github.com/apache/wicket/pull/1478

   Wrapped the fetched element with jQuery to use the event call, like with 
other calls on the script.
   
   This just the master's pr.




> 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