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

entering zero(0) after dot(.) not working #4

Closed
shermax opened this issue Jan 31, 2019 · 5 comments
Closed

entering zero(0) after dot(.) not working #4

shermax opened this issue Jan 31, 2019 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@shermax
Copy link

shermax commented Jan 31, 2019

Hi!

I am facing issue with entering zero after dot(.).

For example:
I have added numeric input as following to my component:

<vue-numeric-input class="form-control" v-model="data.amount" :controls="false" :precision="2"></vue-numeric-input>

But when I try to enter 300.01 it is not allowing to input zero after dot(.). Instead dot(.) is cleared when I input zero.

Thanks!

@JayeshLab JayeshLab added the bug Something isn't working label Feb 1, 2019
@JayeshLab JayeshLab self-assigned this Feb 1, 2019
@JayeshLab
Copy link
Owner

@shermax Thanks for raising the issue. I have fixed the issue and released v1.0.5

@shermax
Copy link
Author

shermax commented Feb 4, 2019

Hi @JayeshLab !
Thanks for your help!
But I think it is still not working properly...
I think there is still one minor case to look at...
For example I accidentally entered 300.02 (instead of 300.01) and I pressed backspace (once) to clear last number(2) and it was set to 300 (dot and zero after dot is cleared/disappeared)...
I think it should be 300.0...
Could you give some suggestion on this?
Thanks!

@shermax
Copy link
Author

shermax commented Feb 4, 2019

Hi @JayeshLab !
Thanks for your help!
But I think it is still not working properly...
I think there is still one minor case to look at...
For example I accidentally entered 300.02 (instead of 300.01) and I pressed backspace (once) to clear last number(2) and it was set to 300 (dot and zero after dot is cleared/disappeared)...
I think it should be 300.0...
Could you give some suggestion on this?
Thanks!

the same with delete button (when I clear last number)...

@alphatero
Copy link

Hi @JayeshLab
I have the same problem in use too.
And if I set min value like 0.2 then I can't input number after dot.
Could you support that?

@JayeshLab
Copy link
Owner

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants