Hi Rocky,
I found another issue, with MinLength rule, can you take a look into it?
In MinLength:
protected override void Execute(RuleContext context)
{
var value = context.InputPropertyValues[PrimaryProperty];
if (value != null && value.ToString().Length > Min)
context.AddErrorResult(
string.Format(Resources.StringMinLengthRule, PrimaryProperty.FriendlyName, Min));
}
Should the line be value.ToString().Length < Min instead, otherwise it is not invalidating the length less than the minimum. Haven't checked MaxLength yet.
Thanks, that's a bug.
Copyright (c) Marimer LLC