The angular linking problems of the ng-value data do not seem to work

I want to place data coming from my API in the text field so that it can be changed later and I am using ng-model to bind the input data to the form so that it can be sent to API for making a change.

But I am getting an empty text field in a text box. value doesn’t seem to be working and I have checked changing value to ng-value

When i used this code below everything is working pretty fine ! this means i have no problem in my controller ! i am getting a correct address from my API.

While using ng-value i am getting error !

No need of value attribute when assigning value dynamically. If i understood your question correctly


http://plnkr.co/edit/sC0BmKQE1i08bTZlwCVQ?p=preview

Hello, buddy!稿源:Hello, buddy! (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 前端开发 » The angular linking problems of the ng-value data do not seem to work

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录