gpt4 book ai didi

angular - ng-multiselect-dropdown - 类型错误 : Cannot read property 'idField' of undefined

转载 作者:行者123 更新时间:2023-12-04 11:08:54 28 4
gpt4 key购买 nike

按照步骤操作
https://www.npmjs.com/package/ng-multiselect-dropdown Angular 9

在浏览器控制台中收到以下错误

类型错误:无法读取未定义的属性“idField”

最佳答案

我遇到了同样的问题,我解决了但正在移动 [settings] [data] 之前的参数段

例子:

    <ng-multiselect-dropdown
[settings]="dropdownSettings"
[data]="dropdownList"
[(ngModel)]="selectedItems"
>
</ng-multiselect-dropdown>

关于angular - ng-multiselect-dropdown - 类型错误 : Cannot read property 'idField' of undefined,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61176280/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com