Documentation
    Preparing search index...

    Interface ArrayPropertyType

    Configuration dictionary for instantiating an ArrayProperty. Restricts the length and content types of an array.

    Parameter Type Description Default
    minLength number Minimum number of elements required in the array. 0
    maxLength number Maximum number of elements allowed in the array. 0 (unlimited)
    allowNumbers boolean If false, throws an error if the array contains numeric elements. true
    allowStrings boolean If false, throws an error if the array contains string elements. true
    interface ArrayPropertyType {
        allowNumbers?: boolean;
        allowStrings?: boolean;
        defaultValue?: any;
        htmlType?: PropertyHTMLType;
        id?: string;
        mandatory?: boolean;
        maxLength?: number;
        minLength?: number;
        name: string;
        onChange?: (dao: DataObjectClass<any>) => DataObjectClass<any>;
        parent?: DataObjectClass<any>;
        protected?: boolean;
        type?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    allowNumbers?: boolean
    allowStrings?: boolean
    defaultValue?: any
    htmlType?: PropertyHTMLType
    id?: string
    mandatory?: boolean
    maxLength?: number
    minLength?: number
    name: string
    onChange?: (dao: DataObjectClass<any>) => DataObjectClass<any>
    parent?: DataObjectClass<any>
    protected?: boolean
    type?: string