mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-04 02:32:07 +01:00
Address Greptile review feedback: the plain-value fallback in emit() caused the useEffect sync to re-run toRows(), which mapped the plain binding back to source: "plain", snapping the dropdown back. Fix: add an emittingRef that distinguishes local emit() calls from external value changes (like overlay reset after save). When the change originated from our own emit, skip the re-sync so the transitioning row stays in "secret" mode while the user picks a secret. Co-Authored-By: Paperclip <noreply@paperclip.ing>