Number fields always append 2 decimals with setting: no decimals
-
Hi,
Since the last update (v1.15.0.1) the number field will sent numbers with 2 decimals by default in the email response, even when “no decimals” is selected in the settings.
The form input on the frontend is shown correctly:
https://res.cloudinary.com/comsi-rtv/image/upload/v1630309539/Forminator/decimal-test-frontend.pngBut the e-mail response does not:
https://res.cloudinary.com/comsi-rtv/image/upload/v1630309539/Forminator/decimal-test-mail.pngWhen selecting 1 or more decimals in the settings it works correctly in the email response, only the default is broken.
Here is a simple form export to replicate it:
https://res.cloudinary.com/comsi-rtv/raw/upload/v1630309511/Forminator/form-decimal-test.jsonAs you can see in the JSON the default form has no
"precision": 0
property/value set where the other two fields actually do have that property.Please advice how we can best fix this issue until the plugin will roll out a new version.
- The topic ‘Number fields always append 2 decimals with setting: no decimals’ is closed to new replies.