Skip to content

Commit

Permalink
Disallow structs in buildFormFrom (#128)
Browse files Browse the repository at this point in the history
* attempt

* useless

* fix
  • Loading branch information
jfet97 authored Jan 13, 2025
1 parent 024dbda commit 6143d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export const buildFormFromSchema = <
From,
never
>
& { new(c: C): any; fields: S.Struct.Fields },
& { new(c: C): any; extend: any; fields: S.Struct.Fields },
state: Ref<Omit<From, "_tag">>,
onSubmit: (a: To) => Promise<OnSubmitA>
) => {
Expand Down

0 comments on commit 6143d26

Please sign in to comment.