Validates that a value is a valid "DateTime", meaning a string follows a specific format.
type: string
default: yyyy-MM-dd
Current validation format.
This option allows to validate a custom date format. See documentation for formatting options.
type: string
default: This value is not a valid datetime.
This message is shown if the underlying data is not a valid datetime.
Parameter | Description |
---|---|
{{ value }} | The current (invalid) value |
{{ format }} | The current validation format |