Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3654

Slider with a default value that is a decimal value gets rounded initially

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Django Portal
    • None
    • Easy

    Description

      If an experiment input have a default value that is a decimal number and it is configured to use the slider-input-editor UI component, then the default value ends up getting rounded (floored actually) when initialized in the Create Experiment view.

      For example, if the min is configured for 1, max is 100, step is 0.1 and default value is 5.5, then when the input is displayed in Create Experiment, the value displayed is 5, not 5.5.

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: