MaxLength and MinLength are deprecated since 2.1 and removed in 2.3
Merge pull request #9 from nickvergessen/patch-2

MaxLength and MinLength are deprecated since 2.1 and removed in 2.3