-
18 Oct 2012 11:22 PM #1
TextArea selectOnFocus Keyboard Navigation
TextArea selectOnFocus Keyboard Navigation
Ext Version
Whatever used in the API Documentation. I use 4.1.1
Browser
Chrome 22
Description
selectOnFocus not honored when navigating using keyboard tab. Works with mouse select. selectOnFocus honored for textfield for both keyboard and mouse.
Steps to reproduces problem
Create form. Add few textfieldareas with selectOnFocus : true and navigate using keyboard tabs
Expected Result
Previously entered text should be selected
Result that occured:
Focus goes to beginning of textared
Test Case
Code pasted from example in the textarea documentation and added additional fields to demonstrate tab navigation.
Code:Ext.create('Ext.form.Panel', { title : 'Sample TextArea', width : 400, bodyPadding : 10, renderTo : Ext.getBody(), items : [ { xtype : 'textareafield', grow : true, name : 'message', fieldLabel : 'Message', anchor : '100%', value : 'text area 1', selectOnFocus : true }, { xtype : 'textareafield', grow : true, name : 'message1', fieldLabel : 'Message1', anchor : '100%', value : 'text area 2', selectOnFocus : true }, { xtype : 'textfield', grow : true, name : 'message2', fieldLabel : 'Message3', anchor : '100%', value : 'text field', selectOnFocus : true } ] });
-
19 Oct 2012 5:59 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
Thanks for the report! I have opened a bug in our bug tracker.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-7562
in
4.1.4.


Reply With Quote