I am trying to implement form validation in angular. It should make a field required and give it minlength, maxlength and pattern. The problem is that it only always shows the e