当下拉选项更改时,Ngx typeahead 不起作用

问题描述 投票:0回答:0

enter image description hereenter image description here 我正在创建一个包含 ngx typeahead 的子组件。下拉选项来自其父组件。我想在父级更改时更新下拉选项。但就我而言,下拉菜单是第一次显示。 But when the options changes it is not at all showing the drop down.任何人都可以帮忙吗

我试图从 ngonchanges 分配当前值。但是没用

javascript angular typescript ngx-bootstrap typeahead
© www.soinside.com 2019 - 2024. All rights reserved.