You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2022/09/28 18:07:00 UTC

[jira] [Resolved] (AIRAVATA-3654) Slider with a default value that is a decimal value gets rounded initially

     [ https://issues.apache.org/jira/browse/AIRAVATA-3654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Christie resolved AIRAVATA-3654.
---------------------------------------
    Resolution: Fixed

> Slider with a default value that is a decimal value gets rounded initially
> --------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3654
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3654
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)