8 Replies Latest reply on Oct 12, 2009 9:38 PM by crissy84

    TextInput - How to prevent default CTRL-ENTER behavior?

    crissy84

      Hi,

      When in a TextInput control, hitting CTRL-ENTER on the keyboard, deletes all text in the control.

      I'm trying to use CTRL-ENTER for my own customer behavior. That works, but it also executes its default delete action.  I tried doing event.preventDefault and event.stopImmediatePropagation on the keyDown event, but that doesn't prevent the delete action.

      Any ideas?

      Thanks!