How to display server errors in Angularjs with ng-messages

后端 未结 4 1887
情话喂你
情话喂你 2021-02-02 10:30

I have have my angular app validating a sign-up form. On submit, the server also validates the data. I\'m outputting error messages in angular using ng-messages.

Here i

4条回答
  •  故里飘歌
    2021-02-02 10:56

    I had a similar question, but the solutions did not work for me. What I did, and it is/was a hack/work around, was to send different errorcodes, and set a case statement.

提交回复
热议问题