Opened 13 years ago

Last modified 10 years ago

#8290 closed defect

ComboBox: Ctrl+Backspace doesn't work with autocomplete enabled — at Version 1

Reported by: david Owned by: anonymous
Priority: high Milestone: 1.5
Component: Dijit - Form Version: 1.2.3
Keywords: combobox filteringselect Cc: davidb, Joseph Scheuhammer
Blocked By: Blocking:

Description (last modified by david)

If I have autocomplete enabled for a ComboBox (or FilteringSelect and it is filling in the value, when I press Ctrl+Backspace only the non-highlighted text is deleted, leaving me with the latter half of my completed word.


  • I want to pick "California".
  • I start by typing "Cal" and it autocompletes with "Cal[ifornia]" (the bracketed portion is the selected portion)
  • I change my mind and want to pick "New York"
  • I press Ctrl+Backspace to clear the contents of the box beginning from the end of my selection
  • And now my textbox reads: "ifornia"! Oops!

I just noticed that Firefox behaves in a similar way with text boxes (when you make a manual selection), but it isn't a problem because it isn't autocompleting them for you. It's one thing if you manually make a selection, but it's another when you are just typing. In other words, this behavior breaks the natural typing habits.

One suggestion would be to firstly delete anything selected whenever a Ctrl+Backspace is detected.

Change History (1)

comment:1 Changed 13 years ago by david

Description: modified (diff)
Note: See TracTickets for help on using tickets.