Wrong arguments sent via key-press action


#1

If one does something like this: {{input key-press=“someAction”}}

The someAction action receives only one argument’event’ which contains the input’s text prior to the key being press which seems not particularly useful. Would it not be more useful to have it pass the jQuery event info so that one can see what key was actually pressed?

This is the function that drops the jQuery event info:

function sendAction(eventName, view, event) {
 ...
   view.sendAction(eventName, value); //not sent through here
  ...
}