Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in binding keyboard #275

Open
xianchenxy opened this issue Mar 30, 2022 · 0 comments
Open

Error in binding keyboard #275

xianchenxy opened this issue Mar 30, 2022 · 0 comments

Comments

@xianchenxy
Copy link

xianchenxy commented Mar 30, 2022

my code

KeyEventInput: {
    functional: true,
    render(h, ctx) {
         console.log('zhq', Object.keys(ctx.listeners));
         return (
              <Input {...ctx.data}  vOn:keyup_enter_native={(ev) => ctx.listeners.keyup(ev)}></Input>
         );
    }
}

when I press any key
image

Does my code has some bugs? my code written according to this example :
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant