[
https://issues.apache.org/jira/browse/WICKET-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903158#action_12903158
]
Hudson commented on WICKET-2:
-----------------------------
Integrated in Apache Wicket 1.5.x #269 (See
[https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/269/])
Issue: WICKET-2828
add(ivalidator<t>)->add(ivalidator<? super t>)
Issue: WICKET-2849
Issue: WICKET-2854
WICKET-2-1-
> Input field with autocomplet behavior does not submit the form via enter key
> ----------------------------------------------------------------------------
>
> Key: WICKET-2
> URL: https://issues.apache.org/jira/browse/WICKET-2
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.2.2
> Reporter: Tomas Drencak
> Assignee: Janne Hietamäki
> Fix For: 1.3.0-beta1
>
> Attachments: wicket-autocomplete.js
>
>
> When field has a focus, autocomplete javascripts blocks all enter key
> presses. That's why form can't be submitted. Enter key press should be
> blocked only when autocomplete view is visible
> You can change wicket-autocomplete.js in initialize() function:
> from
> obj.onkeypress=function(event){
> if(wicketKeyCode(getEvent(event))==KEY_ENTER){
> return killEvent(event);
> }
> }
> to
> obj.onkeypress=function(event){
> if(wicketKeyCode(getEvent(event))==KEY_ENTER && visible==1){
> return killEvent(event);
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.