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