From 7d267b80a7f997724572493a650a745f590dcc21 Mon Sep 17 00:00:00 2001 From: faisolavolut Date: Wed, 23 Apr 2025 11:40:47 +0700 Subject: [PATCH] refactor: remove console log and direct form data modification in debounced onChange --- components/form/field/TypeInput.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/form/field/TypeInput.tsx b/components/form/field/TypeInput.tsx index 5238274..d141026 100644 --- a/components/form/field/TypeInput.tsx +++ b/components/form/field/TypeInput.tsx @@ -375,9 +375,6 @@ export const TypeInput: React.FC = ({ () => debounce(() => { if (typeof onChange === "function" && latestValueRef.current !== null) { - console.log("onChange", latestValueRef.current); - fm.data[name] = latestValueRef.current; - fm.render(); onChange(latestValueRef.current); } }, 1000),