[ https://issues.apache.org/jira/browse/AIRAVATA-3654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17604165#comment-17604165 ]
ASF subversion and git services commented on AIRAVATA-3654: ----------------------------------------------------------- Commit 3a67830fa931f1781d4ea2efe8f0a18767feaf6b in airavata-django-portal's branch refs/heads/dependabot/npm_and_yarn/django_airavata/apps/admin/async-2.6.4 from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=3a67830f ] AIRAVATA-3654 Parse input value as a float instead of as an int Fixes bug where default float value was getting floored to an integer. > 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)