From d1d6100f524efeb84ae401f5777ee1b94b29f4d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?In=C3=AAs=20Ji?= Date: Wed, 6 Mar 2024 22:53:09 +0000 Subject: [PATCH] Fix #25819: Number controls do not reset --- code/ui/blocks/src/controls/Number.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ui/blocks/src/controls/Number.tsx b/code/ui/blocks/src/controls/Number.tsx index 946563ea0c7d..2362f2fa48e3 100644 --- a/code/ui/blocks/src/controls/Number.tsx +++ b/code/ui/blocks/src/controls/Number.tsx @@ -66,7 +66,7 @@ export const NumberControl: FC = ({ } }, [value]); - if (!forceVisible && value === undefined) { + if (value === undefined) { return (