Using the action helper works fine inside a DOM element:
<input value="123"
But then let's say you are using the input helper to generate your input field:
And you want to stick the very same action onto this input helper..
The docs say:
" To dispatch an action on specific events, such as enter or key-press, use the following
"
And yet..
This code does nothing:
I also tried this:
I'm slowly going insane. Can someone point me to the correct way of using actions inside the Ember input helper?
Thanks!
Aucun commentaire:
Enregistrer un commentaire