Factory that encapsulates useForm
, useFormValidation
, useRecordFields
, useSObject
, useSuspense
and useDML
Import
Usage
Methods
constructor(params, configurationArgs) : Constructor
Name | Type | Description |
---|
{fields} | Field[] OR Field[][] | Array of imported fields |
{template} | Function | Imported HTML template |
{untilTemplate} | Function | Imported HTML template |
{mode} | edit OR insert | Mode of the form |
args | CreateFormConfArgs | To add traits to the class |
Example
Basic
With other traits