Type Alias DynamicChoiceElementOption

DynamicChoiceElementOption: {
    attributes?: DynamicChoiceElementOptionAttribute[];
    colour?: string;
    displayAlways?: boolean;
    imageUrl?: string;
    label: string;
    options?: DynamicChoiceElementOption[];
    value: string;
}

Type declaration

  • Optionalattributes?: DynamicChoiceElementOptionAttribute[]

    An array of option attributes associated with an individual option.

  • Optionalcolour?: string

    The color of the button used to display the option, if the element has buttons configured as true.

  • OptionaldisplayAlways?: boolean

    For autocomplete elements this option will always appear in the search results.

  • OptionalimageUrl?: string

    An image associated with this option

  • label: string

    The label displayed to the user for an individual option.

  • Optionaloptions?: DynamicChoiceElementOption[]

    An array of nested options, relevant to the option.

  • value: string

    The value for an individual option, sent with form submission data.