diff --git a/canvas/src/blocks/components/Settings.tsx b/canvas/src/blocks/components/Settings.tsx
index 0be6ceb0..7634d4d7 100644
--- a/canvas/src/blocks/components/Settings.tsx
+++ b/canvas/src/blocks/components/Settings.tsx
@@ -55,6 +55,7 @@ export const Settings = <
                 value={value?.toString()}
                 onChange={(e) => {
                   const n = parseInt(e.target.value)
+                  if (isNaN(n)) return
                   if (n < min) return
                   if (n > max) return