timb
13 Apr 2007, 9:11 AM
I would like to request a feature to be able to easily add other dom attributes when setting up fields. The main one I would like is tabIndex, but there could be others (such as title). Instead of adding one by one by request, maybe there could be a way to specify additional dom attributes like so:
new Ext.form.TextField({
fieldLabel: 'Company',
name: 'company',
width: 175,
attr: [{tabIndex: 5}, {title: 'Please enter the company name'}]}
}),
If you don't like this idea, could you still please add the tabIndex attribute? :)
Thanks!
new Ext.form.TextField({
fieldLabel: 'Company',
name: 'company',
width: 175,
attr: [{tabIndex: 5}, {title: 'Please enter the company name'}]}
}),
If you don't like this idea, could you still please add the tabIndex attribute? :)
Thanks!