← Back to plugin index

Minimum Date

Description
Validates that a date has a lower limit (earliest possible date).
Type name
MinDateValidation
Class
com.airlock.iam.flow.ui.application.configuration.configurable.validation.MinDateValidationConfig
May be used by
Properties
Minimum Relative [days] (minRelative)
Description

The "minimum relative value" is the lower limit (earliest possible) for allowed difference in days to the current date.

Examples: A value of 1 means that tomorrow is the earliest possible date to enter, a value of -365 means that the entered date can be at most one year in the past.

Attributes
Integer
Optional
Min Date (minDate)
Description

The earliest date allowed to be filled in. This cannot be used together with "Minimum Relative" and must be in ISO 8601 format.

Attributes
String
Optional
Example
2011-12-03
Example
2018-02-06
Translation Key (translationKey)
Description
The translation key to use for the error message in case the validation fails. In the translation, the minimum date can be referred to using {{after}}. A default translation is used when no translation key is configured.
Attributes
String
Optional
YAML Template (with default values)

type: MinDateValidation
id: MinDateValidation-xxxxxx
displayName: 
comment: 
properties:
  minDate:
  minRelative:
  translationKey: