-
Notifications
You must be signed in to change notification settings - Fork 132
Closed
Labels
Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.Bug has been confirmed, is reproducible, and ready to work on.
Description
So- create a number field, set the type to decimal. Make a decimal. html 5 validation will object.
If the type = number? It's just not liking it.
Weirdly- a text field set to either number OR decimal does just fine with a decimal, but that's because the type in those cases is still text.
And I think we need to clarify in the docs the difference between a number field and a decimal field- for both text and decimal. But in a text field, it saves decimals ok, but drops the trailing zero if there is one.
Also note- if you switch back and forth between text and number types, the db doesn't always change. So don't test that way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.Bug has been confirmed, is reproducible, and ready to work on.