Open
Description
Description
https://neos.readthedocs.io/en/stable/References/PropertyEditorReference.html#property-validation
lists all supported property validators, including DateTimeRangeValidator
. But that is in fact not available.
Steps to Reproduce
- add a property of type
DateTime
to a Node Type definition (see below) - use the
DateTimeRangeValidator
to only allow dates in the future - Create an instance of the node in the Neos backend and specify a date in the past
Example:
'Some.Package:Some.Node':
# ...
properties:
'date':
type: DateTime
validation:
'Neos.Neos/Validation/DateTimeRangeValidator':
earliestDate: 'now'
Expected behavior
The validator prevents the node from being created
Actual behavior
The validator is silently ignored