?

Log in

Combo Boxes

« previous entry | next entry »
Aug. 6th, 2007 | 09:19 am
location: At work, still waiting on a build

Combo Boxes have strange behaviour when you type into them. I've got an example one here to illustrate.
  • If you repeatedly press the same character into a combo box, it'll iterate through all of the options beginning with that character.
  • If you type a word without pausing between the keystrokes, it'll jump straight to that word.

It's a shame these two things conflict when the entry you want begins with a repeated letter.

In the example above, give the combo box focus and then try typing "e3", "24", "38" or any entry that is two different characters. It works great. Try typing again to jump to "44", "55", or "ee" (in an attempt to find "eek"), and you'll see the problem I'm talking about.

So here the UI is behaving differently for only subtly different input, and for the user this is just going to be confusing.

What's the solution? For me I can simply replace my combo boxes with spinners or plain text fields. I'm not sure what the workaround is if you need combo boxes...

Link | Leave a comment | Share

Comments {3}

chandrama

(no subject)

from: chandrama
date: Aug. 10th, 2007 10:10 pm (UTC)
Link

Hmm, last comment should have read:

" you sad git..." but I guess it read the as mark-up.

So maybe I'm the git.

Anyway, I liked your post about combo boxes, sad or otherwise...

:-)

Reply | Thread

chandrama

(no subject)

from: chandrama
date: Aug. 10th, 2007 10:12 pm (UTC)
Link

Oh forget it...

Just never try to use the-characters-that-normally-enclose-an-html-tag in an LJ comment.

Reply | Parent | Thread

Paul Richards

(no subject)

from: pauldoo
date: Aug. 12th, 2007 08:08 pm (UTC)
Link

I thought I'd be a smart arse and post a comment containing each of the characters that you might have been tripped up by. Unfortunately I can't get them to work.. :p

Maybe not knowing makes me less of a saddo.. :D

Reply | Parent | Thread