Skip to content

Commit 878e77c

Browse files
committed
fix: keep remote form touched state reactive
1 parent 0613682 commit 878e77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/src/runtime/client/remote-functions/form.svelte.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function form(id) {
8181
let element = null;
8282

8383
/** @type {Record<string, boolean>} */
84-
let touched = {};
84+
let touched = $state({});
8585

8686
let submitted = false;
8787

0 commit comments

Comments
 (0)