13 Jul 2008 6:29 AM #1
do not select existing text in text field when focus via tab key
When you CLICK into a textfield, if you want to select the existing text you might do something like this:
selectOnFocus: true,//select all of the existing text
The problem: if you tab or shift+tab to gain focus it doesn't honor the selectOnFocus setting.
Not sure if that's my mis-use, a bug, or the intended behavior.
13 Jul 2008 10:07 AM #2
- Join Date
- Mar 2007
- DC Area =)
- Vote Rating
13 Jul 2008 6:23 PM #3
To reproduce problem in IE or firefox
- go here: http://extjs.com/deploy/dev/examples/form/dynamic.html
- In first field type in something.
- tab to next field
- Shift tab to go back to first field (for me it does select the existing content)
- Click on another field
- Now Click on the first field again (for me it does not select the existing content)