Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upNumber field auto-removes decimals if step option is not set. #2306
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If you enter a decimal value into a number field that has no decimals defined, as soon as the field is no longer focused, the decimals are cut off without an further hint that there was something wrong with the data. Shouldn't the field validate the entered value?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Maybe the field should come up with a warning rather than popping up the save bar and auto-removing the decimals as the current behavior is somewhat confusing.
Kirby Version
Tested with Kirby 3.3.0.