sahadev
sahadev

Reputation: 29

how to select group as whole in ng-select angular

I am using Angular ng-select component to have searchable , multi-select dropdown with group. I wanted to have functionality where if i select group all items under that group will get selected.

I am trying to replicate the code which is provided in demos here

But, not able to have same functionality.

you can find my code here

Upvotes: 0

Views: 3047

Answers (1)

Şivā SankĂr
Şivā SankĂr

Reputation: 2036

Upgrade your ng-select package from 2.1.0 to 2.14.0

Changes : Change version on package.json from "@ng-select/ng-select": "2.1.0" to "@ng-select/ng-select": "^2.14.0"

Upvotes: 1

Related Questions