PDA

View Full Version : FormPanel inside a Menu : Can't tab through form fields



rohitvats
30 Sep 2009, 8:51 AM
I had created a custom trigger field which had a formpanel inside a menu (using Ext.menu.Adapter).
It worked fine in Ext2.x, but the Adapter class has been taken out in 3.0 and I can no longer tab through the form.

The reason is clear after looking at the source code of the Ext.menu.MenuNav class. It handles the tabs on its own and focuses the next menu/previous menu item. But in this case, there's only one item in the menu (the form).

If anyone has a ninja override to pass the tabs to the form, or to fix this in some other way, please let me know!

Cheers!!
- Ro