New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elevate tabIndex
config from TextField to Field
#8010
Comments
|
Theoretically, the tabindex of DateTime field, must be of the container of the fields and the internal tabindex must be 0 and 1, respectively. |
Reading the Mozzila documentation, any element can have the "TabIndex" attribute, with this info, I guess this configuration must be moved to the Widget class. |
Moving this to As for compound widgets like <html>
<body>
<input type=text tabindex="0" value="First (tabIndex=0)"></input>
<input type=text tabindex="1" value="Second (tabIndex=1)"></input>
<input type=text tabindex="0" value="Third (tabIndex=0)"></input>
<input type=text tabindex="0" value="Fourth (tabIndex=0)"></input>
<input type=text tabindex="1" value="Fifth (tabIndex=1)"</input>
</body>
</html> Ignoring the browser chrome, the tab sequence for the above is: First, Third, Fourth, Second, Fifth (repeat). tabIndex-behavior.mp4There are good reasons why MDN warns against assigning |
tabIndex
config to Field.js
tabIndex
config to Widget
There are a lot of complexities in hoisting this to Without a clear use case for when to ignore the general pattern of 0/-1, it seems best to hoist For example, {
type : 'datetimefield',
tabIndex : 1
} and that would be equivalent to: {
type : 'datetimefield',
dateField : { tabIndex : 1 },
timeField : { tabIndex : 1 }
} |
tabIndex
config to WidgettabIndex
config to Field
tabIndex
config to FieldtabIndex
config from TextField to Field
Forum post
The
tabIndex
configuration must be in the Field class, not in the TextField class. Because all input elements have the tab index attribute!The text was updated successfully, but these errors were encountered: