0
  1. I was making an app with NativeScript-Vue but v-on:keyup.enter="entered" doesn't work at Android. code is below.

File Structure:

TodoInput.vue:
...
<TextField v-model="newTodoItem" hint="Type what you have to do" width="70%" horizontalAlignment="left" v-on:keyup.enter="entered" />
...
methods: {
    entered() {
        console.log("entered");
    }
}
...

2. Expected result:

If the "Done" key is pressed on keyboard, console.log("entered"); must execute.

0 Answers0