Skip to content

Commit

Permalink
fix: validate form input on input
Browse files Browse the repository at this point in the history
  • Loading branch information
HubbeDev committed Jan 14, 2024
1 parent 37343dc commit f80c70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/svelte-gravity-forms/src/lib/components/root.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
SPA: ssr ? undefined : true,
validators: $formSchema,
// 'auto' | 'oninput' | 'onblur' | 'submit-only' = 'auto',
validationMethod: 'onblur',
validationMethod: 'oninput',
//'keep' | 'clear' = 'keep',
defaultValidator: 'clear',
// Reset the form upon a successful result
Expand Down

0 comments on commit f80c70c

Please sign in to comment.