Hi,
In the
Thanks for your help and your great layout.
You just need to use the native modifier:
https://codepen.io/korylprince/pen/QdwoNr
This is not easily found... I wish the main Vue event docs talked about this...
With the native modifier it's working. Now I do it like this:
<md-input placeholder="Name" @keyup.native="add(value, $event)"></md-input>
methods: {
add: function(value, event){
if (event.key === 'Enter')
{
//AddSomeThing
}
},
}
Many thanks.
Most helpful comment
You just need to use the native modifier:
https://codepen.io/korylprince/pen/QdwoNr
This is not easily found... I wish the main Vue event docs talked about this...