Fixed bug where minlength attribute is not a valid attribute, used pattern instead
Fixed indentation
Merge pull request #313 from luukholleman/livevalidation-bugfix

[Agnostic] Minlength attribute is not a valid attribute, used pattern instead