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

[Bug Report]input-number accuracy 0, minimum 1 error #2418

Closed
xiaozuidudu opened this issue Nov 14, 2017 · 1 comment · Fixed by #2420
Closed

[Bug Report]input-number accuracy 0, minimum 1 error #2418

xiaozuidudu opened this issue Nov 14, 2017 · 1 comment · Fixed by #2420

Comments

@xiaozuidudu
Copy link

Environment

WIN10/Chrome/62.0.3202.62 / VUE-2.7.2

Reproduction link

https://jsfiddle.net/Lzqnnkor/1/

Steps to reproduce

输入0

What is expected?

变成0

What is actually happening?

不仅能输入0,而且可以输入0.1之类的小数。

@iview-bot
Copy link
Collaborator

Translation of this issue:

Environment

WIN10/Chrome/62.0.3202.62 / VUE-2.7.2

Reproduction link

https://jsfiddle.net/Lzqnnkor/1/

Steps to reproduce

Input 0

What is expected?

Turn into 0

What is actually happening?

Not only can input 0, but also can input 0.1 and so on decimal.

@iview-bot iview-bot changed the title [Bug Report]input-number 精度0,最小值为1时错误 [Bug Report]input-number accuracy 0, minimum 1 error Nov 14, 2017
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

Successfully merging a pull request may close this issue.

2 participants