Represent a control in the form.

interface Control {
    contribution?: WitContribution;
    controlType?: string;
    height?: number;
    id?: string;
    inherited?: boolean;
    isContribution?: boolean;
    label?: string;
    metadata?: string;
    order?: number;
    overridden?: boolean;
    readOnly?: boolean;
    visible?: boolean;
    watermark?: string;
}

Properties

contribution?: WitContribution

Contribution for the control.

controlType?: string

Type of the control.

height?: number

Height of the control, for html controls.

id?: string

The id for the layout node.

inherited?: boolean

A value indicating whether this layout node has been inherited. from a parent layout. This is expected to only be only set by the combiner.

isContribution?: boolean

A value indicating if the layout node is contribution or not.

label?: string

Label for the field.

metadata?: string

Inner text of the control.

order?: number

Order in which the control should appear in its group.

overridden?: boolean

A value indicating whether this layout node has been overridden . by a child layout.

readOnly?: boolean

A value indicating if the control is readonly.

visible?: boolean

A value indicating if the control should be hidden or not.

watermark?: string

Watermark text for the textbox.