@maxhealth.tech/prefab / auto / AutoFormOptions
Interface: AutoFormOptions
Defined in: auto/form.ts:56
Extended by
Properties
title?
ts
optional title?: string;Defined in: auto/form.ts:58
Form heading.
subtitle?
ts
optional subtitle?: string;Defined in: auto/form.ts:60
Optional subtitle.
submitLabel?
ts
optional submitLabel?: string;Defined in: auto/form.ts:62
Submit button text. Default 'Submit'.
onSubmit?
ts
optional onSubmit?:
| Action
| Action[];Defined in: auto/form.ts:64
Custom onSubmit action. Overrides submitTool.
successMessage?
ts
optional successMessage?: string;Defined in: auto/form.ts:66
Success toast message.
errorMessage?
ts
optional errorMessage?: string;Defined in: auto/form.ts:68
Error toast message.