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

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

If I have the following:

4条回答
  •  失恋的感觉
    2021-02-14 07:35

    Angularjs Form showing [object Object] on load in form fields

    I am guessing, it will show this error, only if your form name and ng-model name (value) are same

    like
    
     -------
     
    

    change your form name or your ng-model value to user or some xyz

提交回复
热议问题