From 417600feef1a74a7d0b2aa362381bb34ff58f595 Mon Sep 17 00:00:00 2001 From: Dario Del Piano Date: Fri, 3 Jun 2022 15:00:36 +0100 Subject: [PATCH] #447 fixing type casting from dynamic dictionary to float --- webapp/components/rxd/RxdConstants.js | 1 + webapp/components/rxd/RxdRegion.js | 1 + 2 files changed, 2 insertions(+) diff --git a/webapp/components/rxd/RxdConstants.js b/webapp/components/rxd/RxdConstants.js index aa47ad70..aa9e5abd 100644 --- a/webapp/components/rxd/RxdConstants.js +++ b/webapp/components/rxd/RxdConstants.js @@ -120,6 +120,7 @@ const RxdConstants = (props) => { fullWidth label="value" variant="filled" + realType="float" model={`${baseTag}['${constant}']`} /> diff --git a/webapp/components/rxd/RxdRegion.js b/webapp/components/rxd/RxdRegion.js index 58e6d427..561ce06c 100644 --- a/webapp/components/rxd/RxdRegion.js +++ b/webapp/components/rxd/RxdRegion.js @@ -196,6 +196,7 @@ const RxdRegion = (props) => { fullWidth label="value" variant="filled" + realType="float" model={`${baseTag}['geometry']['args']['${item}']`} />