我们在一个项目中使用ng-select,我遇到了无法禁用 ng-select 窗口的问题。是否可以使用本机代码禁用它,或者我需要找到一些自定义解决方案?
<ng-select
#changeowner
class="custom-owner"
[placeholder]="leagueOwner.full_name"
[clearSearchOnAdd]="true"
(change)="changeLeagueOwner($event)"
[clearable]="false"
[virtualScroll]="true"
[items]="adminLeagueMembers"
(scrollToEnd)="onAdminLoadScrollEnd()"
bindLabel="full_name">
</ng-select>