小编Che*_*eff的帖子

如何捕获NgbTypeahead SelectedItemEvent?

我想从typeahead上选择项目选择运行一些自定义逻辑.我无法使用typeahead控件绑定选定的项事件.我正在使用ng-bootstrap(bootstrap4).

<input type="text" [(ngModel)]="model" [ngbTypeahead]="search" placeholder="Search" [resultTemplate]="rt"  [inputFormatter]="formatter" />
Run Code Online (Sandbox Code Playgroud)

typeahead ng-bootstrap angular

6
推荐指数
1
解决办法
2599
查看次数

标签 统计

angular ×1

ng-bootstrap ×1

typeahead ×1