无法将第二个数组绑定到 angular-双列表框
Not able to bind second array to angular-dual-listbox
我正在尝试将我的 JSON 绑定到 czeckd 提供的 angular-dual-listbox 的确认列表
但源部分显示正确,目标列表未显示。
我创建了一个 stackblitz
https://stackblitz.com/edit/dual-list-example?file=src/app/app.component.html
您的双列表源需要包含所有设备:
this.source = [...this.sourceDevice, ...this.confirmedDevice];
我正在尝试将我的 JSON 绑定到 czeckd 提供的 angular-dual-listbox 的确认列表 但源部分显示正确,目标列表未显示。
我创建了一个 stackblitz
https://stackblitz.com/edit/dual-list-example?file=src/app/app.component.html
您的双列表源需要包含所有设备:
this.source = [...this.sourceDevice, ...this.confirmedDevice];