Skip to content

ListConstraints

Defined in: core/field/types/List.ts:33

List-specific constraints

  • BaseConstraints

optional enum: string[] | any[][]

Defined in: core/field/types/List.ts:48

Restrict values to a specified set of lists Either as delimited strings or arrays


optional maxLength: number

Defined in: core/field/types/List.ts:42

Maximum number of list items


optional minLength: number

Defined in: core/field/types/List.ts:37

Minimum number of list items


optional required: boolean

Defined in: core/field/types/Base.ts:52

Indicates if field is allowed to be null/empty

BaseConstraints.required


optional unique: boolean

Defined in: core/field/types/Base.ts:57

Indicates if values must be unique within the column

BaseConstraints.unique