Search code examples
angulardropdown

How to make tree view in ss-multiselect-dropdown?


How to create tree view in dropdown ss-multiselect-dropdown? Something like in the picture? I use angular 8.

enter image description here


Solution

  • I made something simple. If the element is main I will add two minus -- United States -- and the Id was multiplay by -1. This solved problem with the same id in the main element (country)