@companion-surface/base
    Preparing search index...

    Interface CompanionInputFieldTextInput

    A basic text input field

    {
    id: 'val',
    type: 'textinput',
    label: 'Provide name',
    'default': 'Bob'
    }
    interface CompanionInputFieldTextInput {
        default?: string;
        description?: string;
        id: string;
        isVisibleExpression?: string;
        label: string;
        regex?: string;
        tooltip?: string;
        type: "textinput";
    }

    Hierarchy (View Summary)

    Index

    Properties

    default?: string

    The default text value

    description?: string

    A longer description/summary/notes for this field

    id: string

    The unique id of this input field within the input group

    isVisibleExpression?: string

    A companion expression to check whether this input should be visible, based on the current options selections within the input group

    This is the same syntax as other expressions written inside of Comapnion. You can access a value of the current options using $(options:some_field_id). This does not support the isVisibleData property, let us know if you need this.

    label: string

    The label of the field

    regex?: string

    A regex to use to inform the user if the current input is valid. Note: values may not conform to this, it is a visual hint only

    tooltip?: string

    A hover tooltip for this field

    type: "textinput"

    The type of this input field