我已经成功地将我的JSON数据显示到手风琴中,但我的问题是我找不到修改后获取最终数据的方法:(。 这是源代码链接:
I have successfully display my JSON data into an accordion but my problem was that I can't find the way to get the final data after modification :( . this is the source code link : https://stackblitz.com/edit/material-expansion-panel-drag-drop-multi-level-qrdusr?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts
您需要将输入连接到formcontrol/formGroup,以便可以跟踪值
You need to wire your inputs to a FormControl/FormGroup so you can keep track of the values https://angular.io/guide/reactive-forms
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
您需要将输入连接到formcontrol/formGroup,以便可以跟踪值
You need to wire your inputs to a FormControl/FormGroup so you can keep track of the values https://angular.io/guide/reactive-forms