When a nodereference autocomplete field gets focus, from clicking inside or tabbing to it, the field the entire contents of the autocomplete field should be selected. This enables the user to replace the field contents simply by starting to type. That is easier than having to 1. click, 2. select all chars in the field, 3. type.
To provide the validity of this request, think about use of autocomplete field: if you're going to modify any portion, you will clear and start over, not just edit a few characters.
Comment | File | Size | Author |
---|---|---|---|
#11 | autocomplete.patch | 927 bytes | p.brouwers |
Comments
Comment #1
yched CreditAttribution: yched commentedThis is most probably not for CCK D7.
And this is in fact not for CCK at all, but for core's autocomplete feature.
Comment #2
Aren Cambre CreditAttribution: Aren Cambre commentedMoving to core feature request.
Comment #3
bjaspan CreditAttribution: bjaspan commentedThis may be a good idea, but not if only one kind of form element does it.
Comment #4
bjaspan CreditAttribution: bjaspan commented... and thus I see no reason why it is specifically a Field API issue.
Comment #5
Aren Cambre CreditAttribution: Aren Cambre commentedThanks. Can you help me route this? I'm not sure where to put this issue.
Comment #6
yched CreditAttribution: yched commentedComment #7
Bojhan CreditAttribution: Bojhan commentedAre we done moving it around :P? Lets get some screenshots up or demo to see its usefulness.
Comment #8
Aren Cambre CreditAttribution: Aren Cambre commentedDemo: Open your favorite web browser, surf to a site, then click in the address field. The entire field becomes selected. You must click again to not select the entire field.
Comment #9
Bojhan CreditAttribution: Bojhan commentedAhh, thats clear language :) Sounds like a improvement that makes sense - I couldn't decipher the drupal language.
Comment #10
Aren Cambre CreditAttribution: Aren Cambre commentedRemoving tag because #8 sufficiently clarifies.
Comment #11
p.brouwers CreditAttribution: p.brouwers commentedMade a patch for this which will select the field when clicking inside the autocomplete field
Comment #12
Dries CreditAttribution: Dries commentedHow to test this?
Comment #13
p.brouwers CreditAttribution: p.brouwers commentedeither manually of with a selenium test I guess, cause it's Javascript.
Comment #14
MichaelCole CreditAttribution: MichaelCole commented#11: autocomplete.patch queued for re-testing.
Comment #15
ff1 CreditAttribution: ff1 commentedBumping to D8...
Comment #16
kscheirer#11: autocomplete.patch queued for re-testing.
Comment #18
jpoirierpinto CreditAttribution: jpoirierpinto commentedIs this still an issue?