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

Unable to directly enter decimal values in a numberField #25

Closed
jesse-c opened this issue May 13, 2019 · 2 comments
Closed

Unable to directly enter decimal values in a numberField #25

jesse-c opened this issue May 13, 2019 · 2 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@jesse-c
Copy link

jesse-c commented May 13, 2019

If you begin type the sequence of 0, ., 0, the input field will end up as "0", as opposed to "0.0", for the cases where you would be entering values such as "0.005".

A workaround is to type 0, ., 5, ending up with "0.5", and then moving the cursor in front of the 5, and entering the desired number of 0s.

SSCCEs:

@jesse-c jesse-c changed the title Unable to directly enter decimal values for the numberField Unable to directly enter decimal values in a numberField May 13, 2019
@hecrj hecrj added bug Something isn't working good first issue Good for newcomers labels May 13, 2019
@hecrj
Copy link
Owner

hecrj commented May 13, 2019

This is caused by storing the field value as a Float, we should probably store the value as a String instead.

@hecrj
Copy link
Owner

hecrj commented Jul 11, 2019

Fixed by #30 🎉

@hecrj hecrj closed this as completed Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants