Cannot paste with Control V in TextField
Hi,
Even though I am able to paste text into a TextField using the right mouse click+Paste option, I cannot paste using the Control+V shortcut. I can't seem to copy using the Control+C shortcut, whereas using the right mouse Copy option works.
We're using GXT v2.2.5
However, when running the GXT v2.2.6 Form samples from http://www.sencha.com/examples-2/#advancedforms, the Control+C and Control+V options work fine.
Any ideas/suggestions would be greatly appreciated.
Thanks in Advance,
Shiraz
Revolved: copy+paste using control+C and control+V
We had added a custom handler for all Control+ invocations which was catching all Conrol+ keys and not letting it pass through. Once we removed it, it worked.
Be careful when you add such handlers!
this.addDomHandler(this, MouseWheelEvent.getType());
this.addDomHandler(this, KeyDownEvent.getType());