Composite form
Overview
A container composed of a set of different inputs for data update or submission. The composite form supports multiple views.

Properties
name
string
Component name
views
string[]
Array of available view names
selectedView
string
Name of the selected view
value
value
Current component value
children
children
The children of the component
valid
boolean
Indicates if the component is valid
validating
boolean
Indicates if the component is validating
Methods
selectView
name: string
void
Select a view by name
setValue
data: object
void
Set component data
resetValue
–
void
Reset component to the initial value
validate
–
void
Trigger component validation
resetValidation
–
void
Clear validation errors
setSubmitButtonDisabled
disabled: boolean
void
Disable or enable the submit button
submit
–
void
Trigger submit event
Triggers
On Init
Triggered when the component is initialized
On Submit
Triggered when the form is submitted
On Click
Triggered when the form is clicked
On Change
Triggered when the form's state changes
On Custom Button Click
Triggered when the custom button is clicked
Last updated
Was this helpful?