search

Home  >  Q&A  >  body text

angular.js - angular2 modify form form

1.ng2 rc1.0 is used as the backend and ng2-bootstrap is used for elastic layer modal. How to edit data?
2.As shown in the picture

3. I use the ng2 form for the elastic layer here, and the data of each message can be obtained. But how to assign data to each control. Kneel down and beg God for guidance.

淡淡烟草味淡淡烟草味2868 days ago598

reply all(2)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-15 17:06:20

    I have solved it myself. Simply put, it is to bind a model to each variable

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-15 17:06:20

    Use two-way binding[(ngModel)]

    reply
    0
  • Cancelreply