MaxLength and MinLength are deprecated since 2.1 and removed in 2.3