Open aslante opened 5 years ago
I checked this bug using the following steps:
Javascript Errors:
PHP Errors:
When I checked the debug.log file of my WordPress test site I did not see any PHP errors.
So according to my testing & findings, I think this is a bug because even after setting the default range & minimum range as 1.1 it was displaying 1 as the minimum range in the Scale field and Also for certain range after sliding the range, it was displaying infinite decimals after a range i.e. for 3.4 range it was showing 3.4000000000000004, also for 3.8, it was showing as 3.7999999999999994 and similarly for much other range which was not expected.
WordPress Version: 4.9.8 PHP Version: 7.1.22 MySQL Version: 5.7.23 Caldera Forms Version: 1.7.4 WP_DEBUG: 1
I need the slider to display odd numbered decimals in increments of 0.2 (1.1, 1.3, 1.5, 1.7, 1.9, 2.1, up to 4.4).
I've made the appropriate settings however it shows minimum value as 1 and intervals of 0.2, so I get 1, 1.2, 1.4, 1.6. Not the intervals it's set for. At times it even displays infinite numbers of decimals like 3.00000000000004.
Is the slider only able to display even numbers or is it just buggy?
Anyone has a solution for this?