You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Albert Brand (JIRA)" <ji...@apache.org> on 2008/02/26 16:36:51 UTC
[jira] Created: (WICKET-1372) Input field with autocomplete
behavior does not submit the form via enter key in some cases
Input field with autocomplete behavior does not submit the form via enter key in some cases
-------------------------------------------------------------------------------------------
Key: WICKET-1372
URL: https://issues.apache.org/jira/browse/WICKET-1372
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Affects Versions: 1.3.1
Environment: Debian
Reporter: Albert Brand
Priority: Minor
This is related to WICKET-2 but wasn't fixed in that bug:
When you enter nothing in an input field with autocomplete and press enter, type something that doesn't give results or press escape when the autocomplete box has appeared, you have to press enter twice to submit the form.
The solution is quite simple: remove line 219 from wicket-autocomplete.js:
hidingAutocomplete=1;
This variable was introduced to keep enter from submitting, but by setting it here always to 1, enter is blocked in the above cases.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1372) Input field with autocomplete
behavior does not submit the form via enter key in some cases
Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582191#action_12582191 ]
Johan Compagner commented on WICKET-1372:
-----------------------------------------
its your baby :)
> Input field with autocomplete behavior does not submit the form via enter key in some cases
> -------------------------------------------------------------------------------------------
>
> Key: WICKET-1372
> URL: https://issues.apache.org/jira/browse/WICKET-1372
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.3.1
> Environment: Debian
> Reporter: Albert Brand
> Assignee: Janne Hietamäki
> Priority: Minor
> Fix For: 1.3.3
>
>
> This is related to WICKET-2 but wasn't fixed in that bug:
> When you enter nothing in an input field with autocomplete and press enter, type something that doesn't give results or press escape when the autocomplete box has appeared, you have to press enter twice to submit the form.
> The solution is quite simple: remove line 219 from wicket-autocomplete.js:
> hidingAutocomplete=1;
> This variable was introduced to keep enter from submitting, but by setting it here always to 1, enter is blocked in the above cases.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1372) Input field with autocomplete
behavior does not submit the form via enter key in some cases
Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Compagner updated WICKET-1372:
------------------------------------
Fix Version/s: 1.3.3
Assignee: Janne Hietamäki
> Input field with autocomplete behavior does not submit the form via enter key in some cases
> -------------------------------------------------------------------------------------------
>
> Key: WICKET-1372
> URL: https://issues.apache.org/jira/browse/WICKET-1372
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.3.1
> Environment: Debian
> Reporter: Albert Brand
> Assignee: Janne Hietamäki
> Priority: Minor
> Fix For: 1.3.3
>
>
> This is related to WICKET-2 but wasn't fixed in that bug:
> When you enter nothing in an input field with autocomplete and press enter, type something that doesn't give results or press escape when the autocomplete box has appeared, you have to press enter twice to submit the form.
> The solution is quite simple: remove line 219 from wicket-autocomplete.js:
> hidingAutocomplete=1;
> This variable was introduced to keep enter from submitting, but by setting it here always to 1, enter is blocked in the above cases.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1372) Input field with autocomplete
behavior does not submit the form via enter key in some cases
Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerolf Seitz resolved WICKET-1372.
----------------------------------
Resolution: Fixed
Assignee: Gerolf Seitz (was: Janne Hietamäki)
also, see WICKET-1454
> Input field with autocomplete behavior does not submit the form via enter key in some cases
> -------------------------------------------------------------------------------------------
>
> Key: WICKET-1372
> URL: https://issues.apache.org/jira/browse/WICKET-1372
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.3.1
> Environment: Debian
> Reporter: Albert Brand
> Assignee: Gerolf Seitz
> Priority: Minor
> Fix For: 1.3.3
>
>
> This is related to WICKET-2 but wasn't fixed in that bug:
> When you enter nothing in an input field with autocomplete and press enter, type something that doesn't give results or press escape when the autocomplete box has appeared, you have to press enter twice to submit the form.
> The solution is quite simple: remove line 219 from wicket-autocomplete.js:
> hidingAutocomplete=1;
> This variable was introduced to keep enter from submitting, but by setting it here always to 1, enter is blocked in the above cases.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.