-
16 Dec 2010 6:34 AM #1
tabIndex not working on textfield inside compositefield in a menu
tabIndex not working on textfield inside compositefield in a menu
I have a button-menu structure like this:
I have a tabIndex on each textfield inside the compositefields and yes, they are unique.Code:menu: container (layout: 'anchor'): compositefield: box, textfield compositefield: box, textfield compositefield: box, textfield
My problem: I cannot tab between the textfields.
My question: Does anyone have an idea why not?
Regards, Casper
-
6 Apr 2011 11:48 PM #2
Hello,
yes, I know that this thread is old, but i stumbeled across it via google, having the same problem, and I decided to share my solution with you (in case anyone else is searching for this):
The problem here is, that the Ext.KeyNav from the menu is catching the tabulator key.
To solve this, I simply destroyed it when showing the menu - I only display a form in the menu and don't need a menu navigation for it:
Code:this.mnu = new Ext.menu.Menu ( { shadow: false, plain: true, items: [ // form ], listeners: { scope: this, show: function (mnu) { mnu.keyNav.destroy(); } } });Too lazy to add a clever signature
Similar Threads
-
[CLOSED]ref inside a compositefield not working as expected
By estesbubba in forum Ext 3.x: BugsReplies: 6Last Post: 13 Aug 2010, 4:15 PM -
loadRecord does not load textfield inside compositefield
By rich71 in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 30 Jul 2010, 6:17 AM -
what components can go inside a CompositeField?
By tr888 in forum Ext Designer: Help & DiscussionReplies: 1Last Post: 8 May 2010, 7:31 PM -
ComboBox inside Menu Unable to select text on TextField
By DTT_11-1983 in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 12 Nov 2009, 8:14 PM


Reply With Quote