BaseFormOptions

Interface: BaseFormOptions<TFormData, TSubmitMeta>

Defined in: packages/form-core/src/FormApi.ts:323

An object representing the base properties of a form, unrelated to any validators

Extended by

Type Parameters

TFormData

TSubmitMeta = never

Properties

defaultValues?

ts
optional defaultValues: TFormData;
optional defaultValues: TFormData;

Defined in: packages/form-core/src/FormApi.ts:327

Set initial values for your form.


onSubmitMeta?

ts
optional onSubmitMeta: TSubmitMeta;
optional onSubmitMeta: TSubmitMeta;

Defined in: packages/form-core/src/FormApi.ts:331

onSubmitMeta, the data passed from the handleSubmit handler, to the onSubmit function props

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.