onKeyDown handler

We should be able to pass an onKeyDown handler. A use-case is to kno when the user pressed "enter" in the input.