Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • Initializes a new instance of the FormItem class.

    Parameters

    • xmlNode: Element

      Xml node containing the form item definition.

    • Optional formDefinition: FormDefinitionInterface

      The form definition that this form item belongs to.

    Returns AbstractFormItem

Properties

argumentName

argumentName: Observable<string>

The name of the argument that will be used to store the result of this item.

formDefinition

formDefinition: FormDefinitionInterface

A reference to the FormDefinition that contains this form item.

formItemType

formItemType: string

The type of the FormItem.

isRequired

isRequired: Observable<boolean>

The value indicating whether this item is required.

isValid

isValid: Observable<boolean>

The value indicating whether this item is valid.

isVisible

isVisible: Observable<boolean>

The value indicating whether this item is visible or not.

itemID

itemID: Observable<string>

The form item ID.

toolTip

toolTip: Observable<string>

The tooltip of this form item.

validationItems

validationItems: ValidationItem[]

Gets the collection of {@link validation.ValidationItem} objects that belong to this FormItem.

type

ValidationItem[]

Methods

Private _destroy

  • _destroy(): void
  • Returns void

Protected _notifyResultChanged

  • _notifyResultChanged(): void
  • Raises the FormItemResultChangedEvent.

    Returns void

Private _render

  • _render(): Node
  • Returns Node

getResult

refresh

  • refresh(): void
  • Refreshes the user interface of the form item.

    Returns void

validate