ListConstraints
Defined in: core/field/types/List.ts:33
List-specific constraints
Extends
Section titled “Extends”BaseConstraints
Properties
Section titled “Properties”
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
maxLength?
Section titled “maxLength?”
optional
maxLength:number
Defined in: core/field/types/List.ts:42
Maximum number of list items
minLength?
Section titled “minLength?”
optional
minLength:number
Defined in: core/field/types/List.ts:37
Minimum number of list items
required?
Section titled “required?”
optional
required:boolean
Defined in: core/field/types/Base.ts:52
Indicates if field is allowed to be null/empty
Inherited from
Section titled “Inherited from”BaseConstraints.required
unique?
Section titled “unique?”
optional
unique:boolean
Defined in: core/field/types/Base.ts:57
Indicates if values must be unique within the column
Inherited from
Section titled “Inherited from”BaseConstraints.unique