Number

Property Type: number

A Number value can be configured to hold integer or float values, with minimum and/or maximum values.

Property Validators

Required name: required

Number Validator name: number definition:

Name

Type

Default

Description

allowNull

boolean

false

Allow null entries

min

integer

Minimum value

max

integer

Maximum value

allowDecimal

boolean

true

Allow float values

Allow Level Validator name: allowLevel definition:

Name

Type

Default

Description

includeNoAllow

boolean

false

Allow acl.AccessLevels.NoAllow. If false, acl.AccessLevels.Public is the minimum allowed

defaultValue

integer

an optional default value

Coordinate Validator name: coordinate definition:

Name

Type

Default

Description

min0

integer

min value

max0

integer

max value

min1

integer

min value

max1

integer

max value

allowDecimal0

boolean

true

Allow float values

allowDecimal1

boolean

true

Allow float values

Enum Validator name: numberEnum definition:

Name

Type

Default

Description

values

array

An array of possible entries

Last updated