Websites v4 docs v8.3.1
    Preparing search index...

    Type Alias ConfigSetting

    type ConfigSetting = {
        configSettings?: ConfigSetting[];
        defaultArrayItem?: MixedSection;
        defaultValue?: string;
        description?: string;
        falseLabel?: string;
        field: string;
        fixedSize?: boolean;
        initialValue?: ConfigSettingInitalValue;
        itemKeyValueLabel?: { keyLabel: string; valueLabel: string };
        itemLabel?: string;
        label: string;
        maxLength?: number;
        maxLengthMessage?: string;
        options?: ConfigOption[];
        placeholder?: string;
        sliderConfig?: SliderConfig;
        trueLabel?: string;
        type: ConfigSettingType;
    }
    Index

    Properties

    configSettings?: ConfigSetting[]
    defaultArrayItem?: MixedSection
    defaultValue?: string
    description?: string
    falseLabel?: string
    field: string
    fixedSize?: boolean
    itemKeyValueLabel?: { keyLabel: string; valueLabel: string }
    itemLabel?: string
    label: string
    maxLength?: number

    The maximum number of characters accepted by the control. Content over this length is rejected as it is entered, so it is never added to the section config or rendered.

    maxLengthMessage?: string

    The message shown when ConfigSetting.maxLength is exceeded

    options?: ConfigOption[]
    placeholder?: string
    sliderConfig?: SliderConfig
    trueLabel?: string