@douglasneuroinformatics/libui 3.8.2 → 3.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/components.js
CHANGED
|
@@ -3491,8 +3491,8 @@ var Form = ({
|
|
|
3491
3491
|
event.preventDefault();
|
|
3492
3492
|
const result = await validationSchema.safeParseAsync(values);
|
|
3493
3493
|
if (result.success) {
|
|
3494
|
-
reset();
|
|
3495
3494
|
await onSubmit(result.data);
|
|
3495
|
+
reset();
|
|
3496
3496
|
} else {
|
|
3497
3497
|
console.error(result.error.issues);
|
|
3498
3498
|
handleError(result.error);
|