Angular 2 form validation, minLength validator is not working

前端 未结 7 1651
旧巷少年郎
旧巷少年郎 2021-02-06 21:04

I have following Angular 2 form:


    
&l
7条回答
  •  终归单人心
    2021-02-06 21:36

    I was facing the same issue but after so many research I got a solution with this, Please use minlength insted of minLength Here is the example.

    Password should contain 6 characters

    Instead of

    Password should contain 6 characters

    Hope this will help someone, Thanks

提交回复
热议问题