Skip to content

Commit

Permalink
keep validation error
Browse files Browse the repository at this point in the history
  • Loading branch information
lovincyrus committed Dec 6, 2024
1 parent 7b623bb commit 2a9ff72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@
submitting,
reset: formReset,
} = superForm(defaults(initialValues, schema), {
// See: https://superforms.rocks/concepts/multiple-forms#setting-id-on-the-client
id: id,
SPA: true,
validators: schema,
resetForm: false,
async onUpdate({ form }) {
if (!form.valid) return;
const values = form.data;
Expand Down

0 comments on commit 2a9ff72

Please sign in to comment.