Props
| Name | Type | Default | Description |
|---|---|---|---|
id | string | undefined | - | Explicit id, so anything outside the form can read and drive it through
|
Events
| Name | Type | Description |
|---|---|---|
submit | (event: "submit", values: Record<string, unknown>): void | Return the request promise when |
Slots
The listed properties are the ones exposed to the slot scope.
| Name | Type | Description |
|---|---|---|
default | { touched: boolean; dirty: boolean; valid: boolean; pending: boolean; initialValues?: Partial<GenericObject> | undefined; isSubmitting: boolean; resetForm: (state?: Partial<FormState<GenericObject>> | undefined, opts?: Partial<ResetFormOpts> | undefined) => void; submitCount: number; validate: (opts?: Partial<ValidationOptions> | undefined) => Promise<FormValidationResult<GenericObject, GenericObject>>; values: GenericObject; } |
|