mirror of
https://github.com/LukeHagar/form.git
synced 2025-12-06 20:37:50 +00:00
fix: update form props on render
This commit is contained in:
@@ -57,6 +57,8 @@ export function useForm<TData>(opts?: FormOptions<TData>): FormApi<TData> {
|
||||
return api
|
||||
})
|
||||
|
||||
formApi.update(opts)
|
||||
|
||||
return formApi as any
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user