Type alias FormElementWithOptionsBase

FormElementWithOptionsBase: LookupFormElement & FormElementRequired & FormElementReadOnly & {
    attributesMapping?: DynamicOptionsSetAttributeMap[];
    conditionallyShowOptions?: boolean;
    conditionallyShowOptionsElementIds?: string[];
    dynamicOptionSetId?: number;
    freshdeskFieldName?: string;
    options?: ChoiceElementOption[];
    optionsType: "CUSTOM" | "DYNAMIC" | "SEARCH" | "FRESHDESK_FIELD";
}

Type declaration

  • Optional attributesMapping?: DynamicOptionsSetAttributeMap[]

    Used to map an attribute from a dynamic options source with an option element ID within the form definition

  • Optional conditionallyShowOptions?: boolean

    Whether or not the elements options are to be shown conditionally.

  • Optional conditionallyShowOptionsElementIds?: string[]

    The ID(s) of elements used in the 'conditionally show' process.

  • Optional dynamicOptionSetId?: number

    The ID of the dynamic options set configured in the OneBlink System.

  • Optional freshdeskFieldName?: string
  • Optional options?: ChoiceElementOption[]

    An array of options, relevant to the element.

  • optionsType: "CUSTOM" | "DYNAMIC" | "SEARCH" | "FRESHDESK_FIELD"

    Whether or not the options set is defined within the form definition (custom), or via an API call (dynamic OR search).