-
-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Milestone
Description
Describe the bug
When a number field is set to decimal values using the step option:
fields:
price:
label: Price
type: number
step: .01
and you select a number where the decimals are zero, e.g. 15,00, the zeros are removed when saving or reloading, also the number is stored without the decimals.
To Reproduce
Steps to reproduce the behavior:
- Add above field in any blueprint
- Visit page in panel and add number, e.g 15,00
- Save and reload
- See zeros vanishing. They are also not stored.
Expected behavior
Zeros should be stored in the content file and not disappear.
Kirby Version
3.1.3
Metadata
Metadata
Assignees
Labels
No labels