I am working on a page where I need a select box with search field, so I decided to use the ngSelect
module for it.
My HTML:
<ng-select [items]="mesurePoints"
bindLabel="name"
bindValue="id"
>
</ng-select>
select list is not linked to mesurePoints
value after some changes.
this.mesurePoints = [...this.mesurePoints]
It will update your Items https://github.com/ng-select/ng-select#change-detection
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With