Bros,

In Extjs 4, the Enter key to submit form that used to work in extjs 3 is no longer working.

Code:
keys: [{ key: Ext.EventObject.ENTER, fn: onSubmit }],
I read through the API documentation and try to google but cannot find the solution. Please help.