Show:

An augmentation class which adds the required funcionality to form fields.

Constructor

A.FormFieldRequired

(
  • config
)

Parameters:

  • config Object

    Object literal specifying widget configuration properties.

Index

Properties

Attributes

Methods

_afterRequiredChange

() protected

Fired after the required attribute is set.

_uiSetRequired

(
  • required
)
protected

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

Parameters:

  • required String

initializer

() protected

Constructor for the A.FormFieldRequired component. Lifecycle.

Properties

ATTRS

Object static

Static property used to define the default attribute configuration for the A.FormFieldRequired.

Attributes

required

Boolean

Flag indicating if this field is required.

Default: false