You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/09/09 14:38:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17602393#comment-17602393 ]
ASF subversion and git services commented on AIRAVATA-3654:
-----------------------------------------------------------
Commit bb197c5ae0ab725d1c6a416f7781819d6a50bfcf in airavata-django-portal's branch refs/heads/staging from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=bb197c5a ]
Merge branch 'AIRAVATA-3654' into develop
> 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)