PDA

View Full Version : [CLOSED] Selecting text in an editable combobox using Shift+Home/End



mx_starter
26 Nov 2013, 7:48 AM
Hello, guys - any of you succeeded to do that?

Simple case - create an editable combobox, enter some text within and try to select the text using Shift+Home.

Shift + arrow left/right does work, but Shift + Home/End - does not.
Any ideas?

scottmartin
26 Nov 2013, 8:17 AM
Seems to work in our API example, select a state and place the cursor in the middle of the text
http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.field.ComboBox

mx_starter
26 Nov 2013, 8:35 AM
Seems to work in our API example, select a state and place the cursor in the middle of the text
http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.field.ComboBox


That's correct... Interesting - could you please try in the examples here also:

http://docs.sencha.com/extjs/4.2.2/#!/example/form/combos.html

(http://docs.sencha.com/extjs/4.2.2/#!/example/form/combos.html)None of them working for me...

mx_starter
26 Nov 2013, 8:42 AM
Well, may be it is only me, but the behavior is as follows:

1. Click in the combo, write some text and press Shift+Home WITHOUT leaving the combo

this is NOT working

2. Leave combo clicking on the page outside, return back in the combo and press Shift+Home on the old text

this IS working

3. Clear the combo and try 1 again - not working...

Browser is Chrome 31.0.1650.57 / Win 7 and FF25.0.1

scottmartin
26 Nov 2013, 8:56 AM
Yeah .. this seems to be a bug, I created quick example in our fiddle and it does the same. Only after you re-enter the combo.

I have opened a bug in our bug tracker.

isuvaish
20 Feb 2014, 5:52 AM
Is this issue fixed ? I still can't seem to use SHIFT+END/HOME on the first go.

scottmartin
20 Feb 2014, 5:55 AM
This is still pending. I have left a note in the report to see if this can be pushed up a little sooner.