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

Precision period being cut off. #298

Closed
sgarbesi opened this issue Mar 22, 2016 · 4 comments
Closed

Precision period being cut off. #298

sgarbesi opened this issue Mar 22, 2016 · 4 comments

Comments

@sgarbesi
Copy link

Steps to reproduce

  1. Try to append to .99 to the text input.
  2. You'll see it immediately gets cut off so that the user cannot enter say 0.99 without having to try multiple times and get lucky.

Demo: http://jsfiddle.net/5g7ungrx/2/

Expected behavior

The input field should allow for a '.' without truncating it automatically.

Actual behavior

The . is being truncated.

@ValentinH
Copy link
Member

Indeed, this is not really expected.

You can set the enforceStep option to false as a workaround: http://jsfiddle.net/pwsh5jh3/

@sgarbesi
Copy link
Author

@ValentinH PS the canned instructions for opening a new issue spelled behavior incorrectly. Figured it was worth mentioning.

@ValentinH
Copy link
Member

It just a difference of spelling between US and UK! 😆

@ValentinH
Copy link
Member

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