[richfaces-issues] [JBoss JIRA] Commented: (RF-4466) ComboBox: The onkeydown event doesn't work when pressing enter (the component catches the enter key itself, but forgets to pass it on).

Erik Brink (JIRA) jira-events at lists.jboss.org
Tue Apr 7 05:58:23 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-4466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12460931#action_12460931 ] 

Erik Brink commented on RF-4466:
--------------------------------

Thanks for your quick reply!

I can not say if it is a great amount of work. It will be very usefull for use. 

First I will do some test with the workarounds you gave me. I will come back to you if we still have problems with this functionality.

> ComboBox: The onkeydown event doesn't work when pressing enter (the component catches the enter key itself, but forgets to pass it on). 
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-4466
>                 URL: https://jira.jboss.org/jira/browse/RF-4466
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>            Reporter: Anton Belevich
>            Priority: Minor
>             Fix For: Future
>
>
> This code stops event:
> fieldKeyDownHandler : function(event) {
> 		switch (event.keyCode) {
> 			case Event.KEY_RETURN : 
> 				this.setValue(true);
> 				this.comboList.hideWithDelay();
> 				Event.stop(event);
> 				break;
>  It is necessary for a cancelling of sending form at selecting item

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list