Closed
Description
I've a model with the fields defaultValue
, minLength
and maxLength
. The property defaultValue
must be validated by Constraints\Length
, but the min
and max
options depends of minLength
and maxLength
values. Furthermore, I would like to validate if minLength
is less than maxLength
using Constraints\Range
. Once there is specialized validators to do this job, I wouldn't like to use the callback constraint.
I believe that is no way to do that currently, but is a very usefull feature.