sveltekit-superforms icon indicating copy to clipboard operation
sveltekit-superforms copied to clipboard

Superforms with GridStack

Open gosongying opened this issue 1 year ago • 5 comments

Description When forcing client-side validation when the input loses focus, setting 'onblur' for validationMethod does not seem work, while 'oninput' does work. The input element comes from shadcn-svelte Form component. It acts exactly the same as the default method.

If applicable, a MRE superForm(serverForm, { dataType: 'json', validators: schemasafeClient(schema), id: id, validationMethod: 'auto' }); this is the code I use to construct the form on client side.

gosongying avatar Jul 28 '24 17:07 gosongying