diff --git a/src/internal/form.ts b/src/internal/form.ts index 667431e5..79c76b9a 100644 --- a/src/internal/form.ts +++ b/src/internal/form.ts @@ -19,7 +19,7 @@ const reportValidityOverloads: WeakMap boolean> = new Wea // We store a Set of controls that users have interacted with. This allows us to determine the interaction state // without littering the DOM with additional data attributes. // -const userInteractedControls: Set = new Set(); +const userInteractedControls: WeakSet = new WeakSet(); // // We store a WeakMap of interactions for each form control so we can track when all conditions are met for validation.