Class: FormFieldComponent

FormFieldComponent()

FormFieldComponent is the base Component for fields in a FormComponent. It only contains a LabelComponent as direct sub-classes (listed above) will add input `Component`s. If you have a unique field type then this is the class to extend with your custom UI.

Constructor

new FormFieldComponent()

Parameters:
Name Type Attributes Default Description
options.label string <optional>
null the display text for this input field used in a LabelComponent
options.dataField string <optional>
null the name of the DataModel field for this form element
Source:
To Do:
  • Make the label reactive to a DataModel field