Form Docs
API Reference
- JavaScript Reference
- Classes / FieldApi
- Classes / FormApi
- Functions / formOptions
- Functions / mergeForm
- Interfaces / FieldApiOptions
- Interfaces / FieldOptions
- Interfaces / FieldValidators
- Interfaces / FormOptions
- Interfaces / FormValidators
- Types / DeepKeys
- Types / DeepValue
- Types / AnyFieldMeta
- Types / BaseFormState
- Types / DerivedFormState
- Types / Updater
- Types / UpdaterFn
- Types / ValidationError
- Types / ValidationMeta
- React Reference
- Variables / Field
- Functions / useField
- Functions / useForm
- Types / FieldComponent
- Types / UseField
AI/LLM: This documentation page is available in plain markdown format at/form/latest/docs/reference/interfaces/BaseFormOptions.md
BaseFormOptions
Defined in: packages/form-core/src/FormApi.ts:436
An object representing the base properties of a form, unrelated to any validators
Extended by#
Type Parameters#
TFormData#
TFormData
TSubmitMeta#
TSubmitMeta = never
Properties#
defaultValues?#
ts
optional defaultValues: TFormData;Defined in: packages/form-core/src/FormApi.ts:440
Set initial values for your form.
onSubmitMeta?#
ts
optional onSubmitMeta: TSubmitMeta;Defined in: packages/form-core/src/FormApi.ts:444
onSubmitMeta, the data passed from the handleSubmit handler, to the onSubmit function props