Composite form

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

Methods

MethodDescription

setValue(data: object)

sets data for the component

resetValue()

resets the component to the initial value

selectView(name: string)

selects a view by name

validate()

triggers component's validation

resetValidation()

resets the validation

submit()

triggers submit event

setSubmitButtonDisabled(disabled: boolean)

enables/disables submit button

Triggers

Triggers allow you to launch certain actions based on different events.

On Click

Calls for an action when a component is clicked

On Init

Calls for an action on component initialization

On Submit

Calls for an action on a submit event

On Change

Calls for an action when the component's state is changed

On Custom Button Click

Calls for an action when a custom button is clicked

Last updated