CCEditBox - How to disable outside Keyboard Return Type?

Hi,

I would like the CCEditBox to only accept the Enter key as the return type, currently if a User clicks outside of the keyboard area this is also accepted. Can anyone help?

Thanks
Mark

Anyone know? I’ve tried validating in onTouchesEnded but the Keyboard Return Event is fired first.

Still stuck, need to only accept Enter as the Credit Box return type? Can anyone help?

Thanks

Cocos2d 3.0 fixed this bug , but can not hide when click outside keyboard:(