fix: update form props on render

This commit is contained in:
Tanner Linsley
2023-05-04 12:22:31 -07:00
parent 30e74334c4
commit 6d75eba15a
3 changed files with 223 additions and 1 deletions

View File

@@ -57,6 +57,8 @@ export function useForm<TData>(opts?: FormOptions<TData>): FormApi<TData> {
return api
})
formApi.update(opts)
return formApi as any
}