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

Marcus Christie updated AIRAVATA-3654:
--------------------------------------
    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.


  was:
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.


> 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)

Reply via email to