Show:

A.FormBuilder extension, which is responsible for all the logic related to displaying the field types for the user.

Constructor

A.FormBuilderFieldTypesModal

(
  • config
)

Parameters:

  • config Object

    Object literal specifying layout builder configuration properties.

Methods

_afterFieldTypesChange

() protected

Fires after fieldTypes attribute changes.

_onClickFieldType

(
  • event
)
protected

Fired when a field type is clicked.

Parameters:

_onFieldTypesModalCloseClick

() protected

Fired when the close button for the field types modal is clicked.

_onKeyPressFieldType

(
  • event
)
protected

Fired when a field type is keypressed.

Parameters:

_uiSetFieldTypes

(
  • fieldTypes
)
protected

Updates the ui according to the value of the fieldTypes attribute.

Parameters:

  • fieldTypes Array

_valueHeaderContent

() Object protected

Returns the template of the modal header.

Returns:

Object:

_valueToolbars

() Object protected

Returns the configuration object for the field types modal toolbar.

Returns:

Object:

bindUI

() protected

Bind the events on the FormBuilderFieldTypesModal UI. Lifecycle.

initializer

() protected

Construction logic executed during the A.FormBuilderFieldTypesModal instantiation. Lifecycle.

renderUI

() protected

Renders the FormBuilderFieldTypesModal component instance. Lifecycle.

Attributes

fieldTypes

Array

The collection of field types that can be selected as fields for this form builder.

Default: []

headerContent

String

The content displayed in the modal header.

strings

Object

The text strings displayed by this component.

toolbar

Object

The toolbar configuration object.