Tab indexing inconsistent, confusing
Hi,
I'm using the UI package as a toolkit, and it's very cool. However, I'm having some problems with the tabIndex property which I thought should be brought to light:
1. input.js refers to the property as "tabindex" (lowercase "i") - everywhere else it's "tabIndex" (capital "I").
2. AW.UI.Inputs have a default tabIndex of -1. To change this, I can't simply call input.setTabIndex(1) or input.setAttribute("tabindex",1). Instead, I have to write input.getContent("box/text").setAttribute("tabindex",1). This is confusing - I dont want to have to know about AW.Templates.Input or AW.HTML.INPUT to use this property.
3. AW.UI.Labels have a default tabIndex of 1. Why would I ever want to tab into a label? Perhaps this has something to do with Label usage in the Grid...
What can we expect from the final 2.0 release in terms of the UI toolkit? I'm sure you're concentrating on the Grid, but my wallet is also quite interested in the polish of the UI package. Great job so far.
I'm using the UI package as a toolkit, and it's very cool. However, I'm having some problems with the tabIndex property which I thought should be brought to light:
1. input.js refers to the property as "tabindex" (lowercase "i") - everywhere else it's "tabIndex" (capital "I").
2. AW.UI.Inputs have a default tabIndex of -1. To change this, I can't simply call input.setTabIndex(1) or input.setAttribute("tabindex",1). Instead, I have to write input.getContent("box/text").setAttribute("tabindex",1). This is confusing - I dont want to have to know about AW.Templates.Input or AW.HTML.INPUT to use this property.
3. AW.UI.Labels have a default tabIndex of 1. Why would I ever want to tab into a label? Perhaps this has something to do with Label usage in the Grid...
What can we expect from the final 2.0 release in terms of the UI toolkit? I'm sure you're concentrating on the Grid, but my wallet is also quite interested in the polish of the UI package. Great job so far.
wombat
December 5,