PDA

View Full Version : [2.0a1][CLOSED] Backspace/Delete on non-editable ComboBox unloads page!



steve.neill
4 Oct 2007, 10:16 AM
var c = new Ext.form.ComboBox({
store: a_store_object,
displayField: 'something',
editable: false,
mode: 'local',
triggerAction: 'all'
});

Get focus of the combo then hit Backspace (delete on the Mac) and your page will unload!

This behavior was found on FF2 on Mac OS.

jack.slocum
4 Oct 2007, 12:18 PM
This isn't an Ext issue. That's in any field. It drives me insane.

Here's another one. Select any text on the page. Hit backspace and the same thing happens! :(

steve.neill
4 Oct 2007, 12:23 PM
Ok -- thanks. I guess I wasn't aware of that. Is there any way Ext can trap these on a global level? I'm sure other AJAX frameworks implement control over the Back button.

jack.slocum
4 Oct 2007, 12:50 PM
Nope, I don't think it is stoppable. It's one of those irrirating "features" that make no sense.