Show:

A base class for A.FormBuilderSettingsModal. It's responsible for the modal that is used by the form builder for editing a field's settings.

Constructor

A.FormBuilderSettingsModal

(
  • config
)

Parameters:

  • config Object

    Object literal specifying widget configuration properties.

Methods

_afterModalVisibleChange

(
  • event
)
protected

Fired after the visible attribute from the modal instance changes.

Parameters:

_create

() protected

Creates and renders the field settings modal for the first time.

_save

() protected

Saves the settings for the field currently being edited.

_updateModalOnContentToggle

() protected

Toggle back and close button on small screen and update Modal height.

destructor

() protected

Destructor lifecycle implementation for the A.FormBuilderSettingsModal class. Lifecycle.

hide

()

Hides the settings modal for the given field.

show

(
  • field
  • typeName
)

Shows the settings panel for the given field.

Parameters:

  • field A.FormField
  • typeName String

    The name of the field type.

Events

hide

Fired when the modal is hidden.

save

Fired when the modal is saved.