mergeForm

Function: mergeForm()

ts
function mergeForm<TFormData, TFormValidator>(baseForm, state): FormApi<NoInfer<TFormData>, NoInfer<TFormValidator>>
function mergeForm<TFormData, TFormValidator>(baseForm, state): FormApi<NoInfer<TFormData>, NoInfer<TFormValidator>>

Type Parameters

TFormData

TFormValidator extends undefined | Validator<TFormData, unknown> = undefined

Parameters

baseForm

FormApi<NoInfer<TFormData>, NoInfer<TFormValidator>>

state

Partial<FormState<TFormData>>

Returns

FormApi<NoInfer<TFormData>, NoInfer<TFormValidator>>

Defined in

packages/form-core/src/mergeForm.ts:36

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.