【发布时间】:2020-09-22 13:00:15
【问题描述】:
我正在使用具有以下设置的 ng-multiselect-dropdown:
this.countryDropdownSettings = {
singleSelection: true,
idField: 'level0_id',
textField: 'country',
selectAllText: 'Worldwide',
unSelectAllText: 'Worldwide',
itemsShowLimit: 3,
allowSearchFilter: true,
closeDropDownOnSelection: true
};
搜索时,所有选项都会显示包含输入字符的选项。 我只想建议那些仅以输入的字符开头的内容。例如,如果我输入“I”,则应仅显示印度、意大利,但此处不会显示澳大利亚。
我已经搜索了可用的选项,但没有找到任何合适的设置。
【问题讨论】:
标签: angular dropdown multi-select