From 30da267db0b58cbf73d08a2811142f517f6ab1c3 Mon Sep 17 00:00:00 2001 From: Proddy Date: Sat, 25 Jun 2022 16:34:18 +0200 Subject: [PATCH] fix #547 --- interface/src/project/DashboardData.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/project/DashboardData.tsx b/interface/src/project/DashboardData.tsx index 30d5a58c4..393ac2ee7 100644 --- a/interface/src/project/DashboardData.tsx +++ b/interface/src/project/DashboardData.tsx @@ -472,7 +472,7 @@ const DashboardData: FC = () => { label={deviceValue.id.slice(2)} value={deviceValue.u ? numberValue(deviceValue.v) : deviceValue.v} autoFocus - multiline + multiline={deviceValue.u ? false : true} sx={{ width: '30ch' }} type={deviceValue.u ? 'number' : 'text'} onChange={updateValue(setDeviceValue)}