我找到了一个可以“全选”的例子:https : //ng-select.github.io/ng-select#/multiselect-checkbox
但是,我收到一个错误:Cannot read property 'selected' of undefined. 我想知道为什么我会收到这个错误,以及如何在 Angular 5 中使用 ng-select 实现“全选”。
Cannot read property 'selected' of undefined.
谢谢
multi-select angular-ngselect angular
angular ×1
angular-ngselect ×1
multi-select ×1