Home Reference Source
public class | source

FormComponent

Extends:

potassium-es/src/Component~Component → FormComponent

FormComponent holds a set of sub-Components related to filling out information in a form. It also handles marshalling and unmarshalling data for communication with the server. It also handles input checking and the display of per-field and form-wide error messages.

Constructor Summary

Public Constructor
public

constructor(dataObject: DataObject, options: Object)

Member Summary

Public Members
public get

fieldsComponent: Component

Public Constructors

public constructor(dataObject: DataObject, options: Object) source

Params:

NameTypeAttributeDescription
dataObject DataObject
  • optional
options Object
  • optional

see the {@Component} for inherited options

options.heading string
  • optional

the heading text for this form

Public Members

public get fieldsComponent: Component source