A.FormBuilderFieldList Class
A base class for A.FormBuilderFieldList.
Constructor
A.FormBuilderFieldList
-
config
Parameters:
-
configObjectObject literal specifying widget configuration properties.
Methods
_addEmptyColumnFieldClasses
-
content
Executed to the last empty column.
Parameters:
-
contentNode
_afterEnableAddFieldsChange
()
protected
Fired after the enableAddFields attribute change.
_afterFieldsChange
()
protected
Fired after the fields attribute is set.
_appendAddFieldNode
-
container
Appends add field on the given container.
Parameters:
-
containerNode
_appendAddMoveTargetNode
-
container -
index
Appends move target button on the given container.
_onClickAddField
-
event
Fired when the button for adding a new field is clicked.
Parameters:
-
eventEventFacade
_onMouseEnterAddButton
-
event
Fired when mouse enters the button for adding a new field.
Parameters:
-
eventEventFacade
_onMouseLeaveAddButton
-
event
Fired when mouse leaves the button for adding a new field.
Parameters:
-
eventEventFacade
_uiSetField
-
container -
field -
index
Append a field and its necessaries elements into a given container.
_uiSetFields
-
fields
Updates the ui according to the value of the fields attribute.
Parameters:
-
fieldsArray
_uiToggleDisableAddField
()
protected
Toggle disabled class to the add field button.
_updateRemovableLayoutColProperty
()
protected
Update removable property for layout cols.
addField
-
field -
index
Adds a new field to the A.FormBuilderFieldList.
Parameters:
-
fieldA.FormBuilderFieldBase -
indexNumber
initializer
()
protected
Construction logic executed during the A.FormBuilderFieldList
instantiation. Lifecycle.
removeField
-
field
Removes the given field from the A.FormBuilderFieldList.
Parameters:
-
fieldA.FormBuilderFieldBase
Properties
ATTRS
Object
static
Static property used to define the default attribute
configuration for the A.FormBuilderFieldList.