title: EmberJs input onkeypress event not sent to component
body: <p>I am using EmberJS and I want that when the user types a key in my search bar, that an action is sent to my component. I have read (<a href="http://emberjs.com/api/classes/Ember.TextSupport.html#property_onEvent" rel="nofollow">http://emberjs.com/api/classes/Ember.TextSupport.html#property_onEvent</a>) that I should put the <strong>onEvent="keyPress"</strong> in my input but it doesn't work. Currently, if I type some text, the <code>search()</code> method is not called, but it is if I press enter.</p>
  
  <p>Here is my template:</p>
  
  <pre><code>&lt;div id="command-manager"&gt;
      {{input type="search" action="search" onEvent="keyPress" placeholder="Enter a command here" maxlength="32"}}
  &lt;/div&gt;
  </code></pre>
  
  <p>Here is my component:</p>
  
  <pre><code>var CommandManagerComponent = Ember.Component.extend({
  
    actions:{
      search:function() {
  
        console.log('search');
  
      }
    }
  });
  </code></pre>
  
  <p>As you can see, this is pretty straightforward, I don't know what I'm doing wrong.</p>