Spinner not working in .5 step increments
I can not get the spinner working in .5 step increments.I can get it to work with the slider, but not the spinner. My understanding is that the spinner should be able to work in decimal increments. I pasted my code below that I'm using. Any help would be much appreciated.
array(
'id' => 'propertyBaths',
'type' => 'spinner',
'title' => __('Property Bathrooms', 'jsb'),
'subtitle' => __('The number of bathrooms in this property.', 'jsb'),
'default' => 0,
'min' => 0,
'step' => .5,
'max' => 100,
'display_value' => 'label'
),
The jQuery UI spinner doesn't support floating points. Our slider uses a different library that support them.
http://jqueryui.com/spinner/#decimal
Any chance this will eventually come to Redux?
@mattrace Seems like we need to update our jqueryui... Care to do it and send us a pull request?
Or give @dovy 10 mins and he'll see the folly with the code and push a fix in 3.3.9.5. ;)