- {/* Key by function: the swap effect replaces argsJson
- externally on selection change; remounting resets
- widget drafts/collapse state with it. */}
+ {/* Remount on function or schema changes so local widget
+ drafts cannot outlive the schema they represent. */}
diff --git a/typescript2/pkg-playground/src/args-form-model.test.ts b/typescript2/pkg-playground/src/args-form-model.test.ts
index 856415ba1c2..1ad6905a1e7 100644
--- a/typescript2/pkg-playground/src/args-form-model.test.ts
+++ b/typescript2/pkg-playground/src/args-form-model.test.ts
@@ -7,7 +7,7 @@ import {
enumVariantOf,
isEnumMarkerValue,
isRawJsonSchema,
- normalizeArgs,
+ reconcileArgs,
resolveRef,
schemaLabel,
typeLookupFrom,
@@ -40,6 +40,16 @@ const types: Record