From 2e9b8d54ea0db08912ce58eb400936df09cfe8b0 Mon Sep 17 00:00:00 2001 From: Projit Roy Date: Thu, 10 Nov 2022 12:08:45 +0530 Subject: SDNR GUI has a problem editing fields which allow negative numbers Issue-ID: CCSDK-3791 Signed-off-by: Projit Roy Change-Id: I2d96d853ac2c791979d619da4ec522cdefb921be --- .../wt/odlux/apps/configurationApp/src/components/uiElementNumber.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sdnr/wt/odlux') diff --git a/sdnr/wt/odlux/apps/configurationApp/src/components/uiElementNumber.tsx b/sdnr/wt/odlux/apps/configurationApp/src/components/uiElementNumber.tsx index c4816686a..76c11f6e5 100644 --- a/sdnr/wt/odlux/apps/configurationApp/src/components/uiElementNumber.tsx +++ b/sdnr/wt/odlux/apps/configurationApp/src/components/uiElementNumber.tsx @@ -23,7 +23,7 @@ import { BaseProps } from "./baseProps"; import { IfWhenTextInput } from "./ifWhenTextInput"; import { checkRange } from "./verifyer"; -type numberInputProps = BaseProps; +type numberInputProps = BaseProps; export const UiElementNumber = (props: numberInputProps) => { @@ -49,7 +49,7 @@ export const UiElementNumber = (props: numberInputProps) => { setError(true); setHelperText("Input is not a number."); } - props.onChange(num); + props.onChange(data); } return ( -- cgit 1.2.3-korg