A.FormFieldText Class
A base class for A.FormFieldText
.
Constructor
A.FormFieldText
-
config
Parameters:
-
config
ObjectObject literal specifying widget configuration properties.
Methods
_afterHelpChange
()
protected
Fired after the help
attribute is set.
_afterNestedFieldsChange
()
protected
Fired after the nestedFields
attribute is set.
_afterPlaceholderChange
()
protected
Fired after the placeholder
attribute is set.
_afterTitleChange
()
protected
Fired after the title
attribute is set.
_afterTypeChange
()
protected
Fired after the type
attribute is set.
_uiSetHelp
-
help
Updates the ui according to the value of the help
attribute.
Parameters:
-
help
String
_uiSetNestedFields
-
nestedFields
Updates the UI according to the value of the nestedFields
attribute.
Parameters:
-
nestedFields
Array
_uiSetPlaceholder
-
placeholder
Updates the ui according to the value of the placeholder
attribute.
Parameters:
-
placeholder
String
_uiSetTitle
-
title
Updates the ui according to the value of the title
attribute.
Parameters:
-
title
String
_uiSetType
-
type
Updates the ui according to the value of the type
attribute.
Parameters:
-
type
String
_validateNestedFields
-
val
Validates the value being set to the nestedFields
attribute.
Parameters:
-
val
Array
addNestedField
-
index
-
field
Adds the given field to this field's nested list.
Parameters:
-
index
Number -
field
A.FormField
destructor
()
protected
Destructor lifecycle implementation for the A.FormField
class.
Lifecycle.
initializer
()
protected
Constructor for the A.FormFieldText
. Lifecycle.
removeNestedField
-
field
Removes the given field from this field's nested list.
Parameters:
-
field
A.FormField
renderUI
()
protected
Create the DOM structure for the A.FormFieldText
. Lifecycle.
Properties
ATTRS
Object
static
Static property used to define the default attribute configuration
for the A.FormFieldText
.