Dashboard/React/BasicDeploymentForm: Number precision issues in SliderParam if sliderStep is set to a floating number #5114
Labels
component/ui
Issue related to kubeapps UI
kind/bug
An issue that reports a defect in an existing feature
Milestone
Describe the bug
In a deployment schema, if
sliderStep
property of aSliderParam
is set to a floating point number the displayed slides sometimes show floating precision issuesTo Reproduce
Requirements: Have a own chart repository setup with kubeapps.
sliderStep
and set it to0.1
, e.g. this field: https://github.com/bitnami/charts/blob/master/bitnami/joomla/values.schema.json#L100Expected behavior
The precision of the resulting input field should always stay 1 floating point, because the
sliderStep
input was itself as well 1 floating point.Screenshots
(I've manipulated the width of the input field to easier display the issue)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: