OptionalallowEnabling this will tell companion to validate the value of this field against the definition of the field. If the computed value for this option does not match the validation rules, it will be passed through unchanged. If this is not set, then any invalid value will result in the action/feedback being skipped entirely. Note: This only applies when in expression mode.
OptionaldefaultThe default text value
OptionaldescriptionA longer description/summary/notes for this field
OptionaldisableWhether to disable support for toggling this field to be an expression Danger: Be careful if setting this to true for an existing option, if the user has already defined an expression for this, it will no longer be parsed and will break their configuration.
OptionalexpressionAn alternate description to show when the field is in expression mode. This will replace the normal description
The unique id of this input field within the input group
OptionalisA 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 Companion.
You can access a value of the current options using $(options:some_field_id).
Note: you can only reference fields which are set to disableAutoExpression here, as other fields can be expressions and frequently changing values
The label of the field
OptionalminMinimum required length of the value Note: values may not conform to this, you should validate the value in your code
OptionalmultilineShow as a multiline input field
OptionalregexA regex to use to inform the user if the current input is valid. Note: values may not conform to this, you should validate the value in your code
OptionaltooltipA hover tooltip for this field
The type of this input field
OptionaluseWhether variables should be supported in the value mode text Note: Even if this is false, users can toggle this field to expression mode to use variables
A basic text input field
Available for actions/feedbacks/config
Example