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

Can enter non numeric values #8

Open
craiggeil opened this issue Apr 26, 2019 · 1 comment
Open

Can enter non numeric values #8

craiggeil opened this issue Apr 26, 2019 · 1 comment

Comments

@craiggeil
Copy link

I can enter ....------....---- and the control accepts it as a valid entry.

@han-huang
Copy link

add onkeydown="return false;" oncut="return false;" onpaste="return false;"

e.g.

<vue-numeric-input :value="10" :min="1" :max="20" onkeydown="return false;" oncut="return false;" onpaste="return false;"></vue-numeric-input>

It works for me.

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

2 participants