AboutSupportDeveloper GuideVersion 20.1.5

Type Parameters

Hierarchy

Properties

displayFieldRequirementStatus?: boolean

Controls that display of (Required) or (Optional) labels next to form fields.

fields: readonly T[]

A collection of form fields.

Example

 [
{
key: 'phone',
type: 'string',
label: 'Phone',
helperText:
'Must be in the following formats 123-456-7890, 123 456 7890, (123) 456 7890 or 1234567890',
widget: {
type: 'Text'
},
validation: {
required: {
arg: true
}
}
},
{
key: 'email',
type: 'string',
label: 'Email',
helperText: 'We will use this email to send you the report after we crawl your website',
widget: {
type: 'Text'
},
validation: {
required: {
arg: true
}
}
}
]