我正在一个页面上工作,我需要一个带有搜索字段的选择框,所以我决定使用该ngSelect
模块。
我的 HTML:
<ng-select [items]="mesurePoints"
bindLabel="name"
bindValue="id"
>
</ng-select>
Run Code Online (Sandbox Code Playgroud)
mesurePoints
一些更改后,选择列表未链接到值。