Getting [Object object] when using ng-model on a named form

后端 未结 4 1130
孤街浪徒
孤街浪徒 2021-02-14 07:12

If I have the following:

4条回答
  •  孤街浪徒
    2021-02-14 07:42

    If you don't register a controller in ng-controller, you can remove name="registration" from form, because controller has init with forms, i try and works.

    plnkr.co/edit/JK3utpe1eERrJeoveaCQ?p=preview

提交回复
热议问题