You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/starter/input-format.tsx
+17-10Lines changed: 17 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -127,8 +127,17 @@ export function FieldFormat({
127
127
disabled,
128
128
})
129
129
130
+
/**
131
+
* Stable fallback field used while the store value is still empty (e.g. a
132
+
* newly added block). Caching it in a ref keeps the field id constant across
133
+
* renders, so the inputs don't remount on each keystroke and edits commit to
0 commit comments